Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1124)

Side by Side Diff: chrome/browser/ui/webui/engagement/site_engagement_ui.h

Issue 2783433003: Move site_engagement.mojom to chrome/browser/engagement. (Closed)
Patch Set: Fix missed references to the old path Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_ENGAGEMENT_SITE_ENGAGEMENT_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_ENGAGEMENT_SITE_ENGAGEMENT_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_ENGAGEMENT_SITE_ENGAGEMENT_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_ENGAGEMENT_SITE_ENGAGEMENT_UI_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/ui/webui/engagement/site_engagement.mojom.h" 9 #include "chrome/browser/engagement/site_engagement.mojom.h"
10 #include "chrome/browser/ui/webui/mojo_web_ui_controller.h" 10 #include "chrome/browser/ui/webui/mojo_web_ui_controller.h"
11 11
12 // The UI for chrome://site-engagement/. 12 // The UI for chrome://site-engagement/.
13 class SiteEngagementUI 13 class SiteEngagementUI
14 : public MojoWebUIController<mojom::SiteEngagementUIHandler> { 14 : public MojoWebUIController<mojom::SiteEngagementUIHandler> {
15 public: 15 public:
16 explicit SiteEngagementUI(content::WebUI* web_ui); 16 explicit SiteEngagementUI(content::WebUI* web_ui);
17 ~SiteEngagementUI() override; 17 ~SiteEngagementUI() override;
18 18
19 private: 19 private:
20 // MojoWebUIController overrides: 20 // MojoWebUIController overrides:
21 void BindUIHandler( 21 void BindUIHandler(
22 mojo::InterfaceRequest<mojom::SiteEngagementUIHandler> request) override; 22 mojo::InterfaceRequest<mojom::SiteEngagementUIHandler> request) override;
23 23
24 std::unique_ptr<mojom::SiteEngagementUIHandler> ui_handler_; 24 std::unique_ptr<mojom::SiteEngagementUIHandler> ui_handler_;
25 25
26 DISALLOW_COPY_AND_ASSIGN(SiteEngagementUI); 26 DISALLOW_COPY_AND_ASSIGN(SiteEngagementUI);
27 }; 27 };
28 28
29 #endif // CHROME_BROWSER_UI_WEBUI_ENGAGEMENT_SITE_ENGAGEMENT_UI_H_ 29 #endif // CHROME_BROWSER_UI_WEBUI_ENGAGEMENT_SITE_ENGAGEMENT_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698