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

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

Issue 1430313003: Change MojoWebUIController to use mojo::StrongBindingSet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-geolocation-untangle
Patch Set: Created 5 years 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_WEBUI_ENGAGEMENT_SITE_ENGAGEMENT_UI_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_ENGAGEMENT_SITE_ENGAGEMENT_UI_HANDLER_H_
7
8 #include "base/macros.h"
9 #include "chrome/browser/ui/webui/engagement/site_engagement.mojom.h"
10
11 namespace content {
12 class WebUI;
13 }
14
15 class Profile;
16
17 // Implementation of SiteEngagementUIHandler that gets information from the
18 // SiteEngagementService to provide data for the WebUI.
19 class SiteEngagementUIHandlerImpl : public SiteEngagementUIHandler {
20 public:
21 explicit SiteEngagementUIHandlerImpl(content::WebUI* web_ui);
22 ~SiteEngagementUIHandlerImpl() override;
23
24 // SiteEngagementUIHandler overrides:
25 void GetSiteEngagementInfo(
26 const GetSiteEngagementInfoCallback& callback) override;
27
28 private:
29 // The Profile* for the content::WebUI handed to us in our constructor.
30 Profile* profile_;
31
32 DISALLOW_COPY_AND_ASSIGN(SiteEngagementUIHandlerImpl);
33 };
34
35 #endif // CHROME_BROWSER_UI_WEBUI_ENGAGEMENT_SITE_ENGAGEMENT_UI_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698