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

Unified Diff: chrome/browser/extensions/extensions_ui.h

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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/extensions/extensions_ui.h
===================================================================
--- chrome/browser/extensions/extensions_ui.h (revision 92173)
+++ chrome/browser/extensions/extensions_ui.h (working copy)
@@ -20,15 +20,18 @@
#include "content/common/notification_registrar.h"
#include "googleurl/src/gurl.h"
-class DictionaryValue;
class Extension;
class ExtensionService;
class FilePath;
-class ListValue;
class PrefService;
class RenderProcessHost;
class UserScript;
+namespace base {
+class DictionaryValue;
+class ListValue;
+}
+
// Information about a page running in an extension, for example a toolstrip,
// a background page, or a tab contents.
struct ExtensionPage {
@@ -74,7 +77,7 @@
// Extension Detail JSON Struct for page. (static for ease of testing).
// Note: service can be NULL in unit tests.
- static DictionaryValue* CreateExtensionDetailValue(
+ static base::DictionaryValue* CreateExtensionDetailValue(
ExtensionService* service,
const Extension* extension,
const std::vector<ExtensionPage>& pages,
@@ -93,52 +96,52 @@
private:
// Callback for "requestExtensionsData" message.
- void HandleRequestExtensionsData(const ListValue* args);
+ void HandleRequestExtensionsData(const base::ListValue* args);
// Callback for "toggleDeveloperMode" message.
- void HandleToggleDeveloperMode(const ListValue* args);
+ void HandleToggleDeveloperMode(const base::ListValue* args);
// Callback for "inspect" message.
- void HandleInspectMessage(const ListValue* args);
+ void HandleInspectMessage(const base::ListValue* args);
// Callback for "reload" message.
- void HandleReloadMessage(const ListValue* args);
+ void HandleReloadMessage(const base::ListValue* args);
// Callback for "enable" message.
- void HandleEnableMessage(const ListValue* args);
+ void HandleEnableMessage(const base::ListValue* args);
// Callback for "enableIncognito" message.
- void HandleEnableIncognitoMessage(const ListValue* args);
+ void HandleEnableIncognitoMessage(const base::ListValue* args);
// Callback for "allowFileAcces" message.
- void HandleAllowFileAccessMessage(const ListValue* args);
+ void HandleAllowFileAccessMessage(const base::ListValue* args);
// Callback for "uninstall" message.
- void HandleUninstallMessage(const ListValue* args);
+ void HandleUninstallMessage(const base::ListValue* args);
// Callback for "options" message.
- void HandleOptionsMessage(const ListValue* args);
+ void HandleOptionsMessage(const base::ListValue* args);
// Callback for "showButton" message.
- void HandleShowButtonMessage(const ListValue* args);
+ void HandleShowButtonMessage(const base::ListValue* args);
// Callback for "load" message.
- void HandleLoadMessage(const ListValue* args);
+ void HandleLoadMessage(const base::ListValue* args);
// Callback for "pack" message.
- void HandlePackMessage(const ListValue* args);
+ void HandlePackMessage(const base::ListValue* args);
// Callback for "autoupdate" message.
- void HandleAutoUpdateMessage(const ListValue* args);
+ void HandleAutoUpdateMessage(const base::ListValue* args);
// Utility for calling javascript window.alert in the page.
void ShowAlert(const std::string& message);
// Callback for "selectFilePath" message.
- void HandleSelectFilePathMessage(const ListValue* args);
+ void HandleSelectFilePathMessage(const base::ListValue* args);
// Utility for callbacks that get an extension ID as the sole argument.
- const Extension* GetExtension(const ListValue* args);
+ const Extension* GetExtension(const base::ListValue* args);
// Forces a UI update if appropriate after a notification is received.
void MaybeUpdateAfterNotification();
« no previous file with comments | « chrome/browser/extensions/extension_webstore_private_api.h ('k') | chrome/browser/extensions/external_extension_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698