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

Unified Diff: chrome/browser/debugger/devtools_remote_service.h

Issue 3117017: Remove deprecated wstring Get(As)String() methods from Value, etc. (Closed)
Patch Set: fix win Created 10 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/debugger/devtools_remote_service.h
diff --git a/chrome/browser/debugger/devtools_remote_service.h b/chrome/browser/debugger/devtools_remote_service.h
index cc99ce347bf38564ef274569e913764597be1227..8ad17bafc84496114a0ff166b80bef99a4e89578 100644
--- a/chrome/browser/debugger/devtools_remote_service.h
+++ b/chrome/browser/debugger/devtools_remote_service.h
@@ -18,9 +18,9 @@ class Value;
// Contains constants for DevToolsRemoteService tool protocol commands.
struct DevToolsRemoteServiceCommand {
- static const std::string kPing;
- static const std::string kVersion;
- static const std::string kListTabs;
+ static const char kPing[];
+ static const char kVersion[];
+ static const char kListTabs[];
};
// Handles Chrome remote debugger protocol service commands.
@@ -32,7 +32,7 @@ class DevToolsRemoteService : public DevToolsRemoteListener {
virtual void HandleMessage(const DevToolsRemoteMessage& message);
virtual void OnConnectionLost() {}
- static const std::string kToolName;
+ static const char kToolName[];
private:
// Operation result returned in the "result" field.
@@ -42,9 +42,6 @@ class DevToolsRemoteService : public DevToolsRemoteListener {
};
virtual ~DevToolsRemoteService();
void ProcessJson(DictionaryValue* json, const DevToolsRemoteMessage& message);
- static const std::wstring kCommandWide;
- static const std::wstring kDataWide;
- static const std::wstring kResultWide;
DevToolsProtocolHandler* delegate_;
DISALLOW_COPY_AND_ASSIGN(DevToolsRemoteService);
};
« no previous file with comments | « chrome/browser/debugger/debugger_remote_service.cc ('k') | chrome/browser/debugger/devtools_remote_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698