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

Side by Side Diff: chrome/browser/ui/webui/settings/site_settings_handler.h

Issue 1607483005: Show data usage on Site Details (MDSettings) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
(Empty)
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
michaelpg 2016/01/19 20:47:54 no (c)
Finnur 2016/01/22 15:07:36 Done.
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_SETTINGS_SITE_SETTINGS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_SITE_SETTINGS_HANDLER_H_
7
8 #include <vector>
9
10 #include "chrome/browser/ui/webui/settings/md_settings_ui.h"
11
12 class Profile;
13
14 namespace base {
15 class Value;
16 }
17
18 namespace settings {
19
20 // Chrome "ContentSettings" settings page UI handler.
21 class SiteSettingsHandler : public SettingsPageUIHandler {
22 public:
23 explicit SiteSettingsHandler(Profile* profile);
24 ~SiteSettingsHandler() override;
25
26 // SettingsPageUIHandler implementation.
27 void RegisterMessages() override;
28
29 private:
30 // Asynchronuysly fetches the usage for a given origin. Replies back with
michaelpg 2016/01/19 20:47:54 Asynchronously
Finnur 2016/01/22 15:07:36 Done.
31 // OnUsageDataAvailable.
32 void HandleFetchUsageTotal(const base::ListValue* args);
33 void OnUsageDataAvailable();
34
35 Profile* profile_;
36
37 DISALLOW_COPY_AND_ASSIGN(SiteSettingsHandler);
38 };
39
40 } // namespace settings
41
42 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_SITE_SETTINGS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698