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

Unified Diff: chrome/browser/ui/webui/settings/site_settings_handler.h

Issue 2237823003: Site Settings Desktop: Implement USB devices section. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/settings/site_settings_handler.h
diff --git a/chrome/browser/ui/webui/settings/site_settings_handler.h b/chrome/browser/ui/webui/settings/site_settings_handler.h
index 4442c50a79f8d5462fe0180e4ea92a29245066c5..5025c376c5c402529ad2223084ac608a405af688 100644
--- a/chrome/browser/ui/webui/settings/site_settings_handler.h
+++ b/chrome/browser/ui/webui/settings/site_settings_handler.h
@@ -33,6 +33,7 @@ class SiteSettingsHandler : public SettingsPageUIHandler,
void OnJavascriptAllowed() override;
void OnJavascriptDisallowed() override;
+ // Usage info.
void OnGetUsageInfo(const storage::UsageInfoEntries& entries);
void OnUsageInfoCleared(storage::QuotaStatusCode code);
@@ -54,6 +55,12 @@ class SiteSettingsHandler : public SettingsPageUIHandler,
// Deletes the storage being used for a given host.
void HandleClearUsage(const base::ListValue* args);
+ // Handles the request for a list of all USB devices.
+ void HandleFetchUsbDevices(const base::ListValue* args);
+
+ // Removes a particular USB device permission.
+ void HandleRemoveUsbDevice(const base::ListValue* args);
+
// Gets and sets the default value for a particular content settings type.
void HandleSetDefaultValueForContentType(const base::ListValue* args);
void HandleGetDefaultValueForContentType(const base::ListValue* args);

Powered by Google App Engine
This is Rietveld 408576698