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

Unified Diff: chrome/browser/extensions/extension_webrequest_api.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/extension_webrequest_api.h
===================================================================
--- chrome/browser/extensions/extension_webrequest_api.h (revision 92173)
+++ chrome/browser/extensions/extension_webrequest_api.h (working copy)
@@ -20,11 +20,14 @@
#include "net/base/completion_callback.h"
#include "webkit/glue/resource_type.h"
-class DictionaryValue;
class ExtensionInfoMap;
class GURL;
+
+namespace base {
+class DictionaryValue;
class ListValue;
class StringValue;
+}
namespace net {
class HostPortPair;
@@ -63,7 +66,7 @@
// Returns false if there was an error initializing. If it is a user error,
// an error message is provided, otherwise the error is internal (and
// unexpected).
- bool InitFromValue(const DictionaryValue& value, std::string* error);
+ bool InitFromValue(const base::DictionaryValue& value, std::string* error);
};
// Internal representation of the extraInfoSpec parameter on webRequest
@@ -78,7 +81,8 @@
BLOCKING = 1<<4,
};
- static bool InitFromValue(const ListValue& value, int* extra_info_spec);
+ static bool InitFromValue(const base::ListValue& value,
+ int* extra_info_spec);
};
// Contains an extension's response to a blocking event.
@@ -215,7 +219,7 @@
ProfileId profile_id,
net::URLRequest* request,
const std::vector<const EventListener*>& listeners,
- const ListValue& args);
+ const base::ListValue& args);
// Returns a list of event listeners that care about the given event, based
// on their filter parameters. |extra_info_spec| will contain the combined
« no previous file with comments | « chrome/browser/extensions/extension_web_ui.h ('k') | chrome/browser/extensions/extension_webstore_private_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698