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

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

Issue 2338163004: [MD settings] add getSiteDetails to site settings browser proxy (Closed)
Patch Set: added comment Created 4 years, 3 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_SETTINGS_SITE_SETTINGS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_SITE_SETTINGS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_SITE_SETTINGS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_SITE_SETTINGS_HANDLER_H_
7 7
8 #include <memory>
9 #include <string>
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/scoped_observer.h" 12 #include "base/scoped_observer.h"
11 #include "chrome/browser/storage/storage_info_fetcher.h" 13 #include "chrome/browser/storage/storage_info_fetcher.h"
12 #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h" 14 #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
13 #include "components/content_settings/core/browser/content_settings_observer.h" 15 #include "components/content_settings/core/browser/content_settings_observer.h"
14 #include "content/public/browser/host_zoom_map.h" 16 #include "content/public/browser/host_zoom_map.h"
15 #include "content/public/browser/notification_observer.h" 17 #include "content/public/browser/notification_observer.h"
16 #include "content/public/browser/notification_registrar.h" 18 #include "content/public/browser/notification_registrar.h"
17 19
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void HandleSetDefaultValueForContentType(const base::ListValue* args); 82 void HandleSetDefaultValueForContentType(const base::ListValue* args);
81 void HandleGetDefaultValueForContentType(const base::ListValue* args); 83 void HandleGetDefaultValueForContentType(const base::ListValue* args);
82 84
83 // Returns the list of site exceptions for a given content settings type. 85 // Returns the list of site exceptions for a given content settings type.
84 void HandleGetExceptionList(const base::ListValue* args); 86 void HandleGetExceptionList(const base::ListValue* args);
85 87
86 // Handles setting and resetting of an origin permission. 88 // Handles setting and resetting of an origin permission.
87 void HandleResetCategoryPermissionForOrigin(const base::ListValue* args); 89 void HandleResetCategoryPermissionForOrigin(const base::ListValue* args);
88 void HandleSetCategoryPermissionForOrigin(const base::ListValue* args); 90 void HandleSetCategoryPermissionForOrigin(const base::ListValue* args);
89 91
92 void HandleGetSiteDetails(const base::ListValue* args);
Finnur 2016/09/15 12:51:11 nit: Comment.
dschuyler 2016/09/15 20:35:28 Done.
93
90 // Returns whether a given pattern is valid. 94 // Returns whether a given pattern is valid.
91 void HandleIsPatternValid(const base::ListValue* args); 95 void HandleIsPatternValid(const base::ListValue* args);
92 96
93 // Looks up whether an incognito session is active. 97 // Looks up whether an incognito session is active.
94 void HandleUpdateIncognitoStatus(const base::ListValue* args); 98 void HandleUpdateIncognitoStatus(const base::ListValue* args);
95 99
96 // Notifies the JS side whether incognito is enabled. 100 // Notifies the JS side whether incognito is enabled.
97 void SendIncognitoStatus(Profile* profile, bool was_destroyed); 101 void SendIncognitoStatus(Profile* profile, bool was_destroyed);
98 102
99 // Handles the request for a list of all zoom levels. 103 // Handles the request for a list of all zoom levels.
(...skipping 21 matching lines...) Expand all
121 125
122 // Change observer for content settings. 126 // Change observer for content settings.
123 ScopedObserver<HostContentSettingsMap, content_settings::Observer> observer_; 127 ScopedObserver<HostContentSettingsMap, content_settings::Observer> observer_;
124 128
125 DISALLOW_COPY_AND_ASSIGN(SiteSettingsHandler); 129 DISALLOW_COPY_AND_ASSIGN(SiteSettingsHandler);
126 }; 130 };
127 131
128 } // namespace settings 132 } // namespace settings
129 133
130 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_SITE_SETTINGS_HANDLER_H_ 134 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_SITE_SETTINGS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698