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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/InjectedScriptManager.h

Issue 1767883002: DevTools: generate string16-based handlers for v8_inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/Source/platform/v8_inspector/InjectedScriptManager.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptManager.h b/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptManager.h
index 3f862590bd89fc8728cffee1c7bc51d078a565c6..a1042c39b9f305fa17e7fe04ad0e0295456ed751 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptManager.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptManager.h
@@ -32,7 +32,7 @@
#include "platform/inspector_protocol/Allocator.h"
#include "platform/inspector_protocol/Collections.h"
-#include "wtf/text/WTFString.h"
+#include "platform/inspector_protocol/String16.h"
#include <v8.h>
namespace blink {
@@ -58,13 +58,13 @@ public:
void discardInjectedScripts();
int discardInjectedScriptFor(v8::Local<v8::Context>);
void discardInjectedScript(int);
- void releaseObjectGroup(const String& objectGroup);
+ void releaseObjectGroup(const String16& objectGroup);
void setCustomObjectFormatterEnabled(bool);
private:
explicit InjectedScriptManager(V8DebuggerImpl*);
- v8::Local<v8::Object> createInjectedScript(const String& source, v8::Local<v8::Context>, int id, InjectedScriptNative*);
+ v8::Local<v8::Object> createInjectedScript(const String16& source, v8::Local<v8::Context>, int id, InjectedScriptNative*);
typedef protocol::HashMap<int, OwnPtr<InjectedScript>> IdToInjectedScriptMap;
IdToInjectedScriptMap m_idToInjectedScript;

Powered by Google App Engine
This is Rietveld 408576698