diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-12 19:15:03 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-12 19:15:03 +0000 |
commit | f3a1c64a4d81c412273ed567536f23c2c14813a2 (patch) | |
tree | f0ced21805b18546e879413e4f808dd4f683c534 /content/browser/debugger/debugger_remote_service.h | |
parent | 2338319a9acbaecba44243740b3f01b5c408a78a (diff) | |
download | chromium_src-f3a1c64a4d81c412273ed567536f23c2c14813a2.zip chromium_src-f3a1c64a4d81c412273ed567536f23c2c14813a2.tar.gz chromium_src-f3a1c64a4d81c412273ed567536f23c2c14813a2.tar.bz2 |
Move base/values.h into the base namespace. This includes a cros DEPS roll
with a minor change to that code since libcros also uses base/values.h.
BUG=88666
TEST=none
Review URL: http://codereview.chromium.org/7259019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/debugger/debugger_remote_service.h')
-rw-r--r-- | content/browser/debugger/debugger_remote_service.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/content/browser/debugger/debugger_remote_service.h b/content/browser/debugger/debugger_remote_service.h index b157b77..3a0bb9c 100644 --- a/content/browser/debugger/debugger_remote_service.h +++ b/content/browser/debugger/debugger_remote_service.h @@ -16,9 +16,12 @@ class DevToolsProtocolHandler; class DevToolsRemoteMessage; +class TabContents; + +namespace base { class DictionaryValue; class Value; -class TabContents; +} // Contains constants for DebuggerRemoteService tool protocol commands // (V8-related only). @@ -58,7 +61,7 @@ class DebuggerRemoteService : public DevToolsRemoteListener { // as the "result" field in |response|, otherwise the result // will not be propagated back to the caller. void DetachFromTab(const std::string& destination, - DictionaryValue* response); + base::DictionaryValue* response); // DevToolsRemoteListener interface. @@ -89,7 +92,7 @@ class DebuggerRemoteService : public DevToolsRemoteListener { // Attaches a remote debugger to the tab specified by |destination|. // Writes the attachment result (one of Result enum values) into |response|. void AttachToTab(const std::string& destination, - DictionaryValue* response); + base::DictionaryValue* response); // Retrieves a WebContents instance for the specified |tab_uid| // or NULL if no such tab is found or no WebContents instance @@ -98,7 +101,7 @@ class DebuggerRemoteService : public DevToolsRemoteListener { // Sends a JSON message with the |response| to the remote debugger. // |tool| and |destination| are used as the respective header values. - void SendResponse(const Value& response, + void SendResponse(const base::Value& response, const std::string& tool, const std::string& destination); @@ -106,15 +109,15 @@ class DebuggerRemoteService : public DevToolsRemoteListener { // with the |tab_uid| and writes the result into |response| if it becomes // known immediately. bool DispatchDebuggerCommand(int tab_uid, - DictionaryValue* content, - DictionaryValue* response); + base::DictionaryValue* content, + base::DictionaryValue* response); // Redirects a Javascript evaluation command from |content| to // a V8 debugger associated with the |tab_uid| and writes the result // into |response| if it becomes known immediately. bool DispatchEvaluateJavascript(int tab_uid, - DictionaryValue* content, - DictionaryValue* response); + base::DictionaryValue* content, + base::DictionaryValue* response); // The delegate is used to get an InspectableTabProxy instance. DevToolsProtocolHandler* delegate_; |