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

Unified Diff: src/inspector/InjectedScriptNative.h

Issue 2338413003: [inspector] change implementation file extension from cpp to cc (Closed)
Patch Set: string16 -> string-16 Created 4 years, 3 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
« no previous file with comments | « src/inspector/InjectedScript.cpp ('k') | src/inspector/InjectedScriptNative.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/InjectedScriptNative.h
diff --git a/src/inspector/InjectedScriptNative.h b/src/inspector/InjectedScriptNative.h
deleted file mode 100644
index b91d0148da12cb6bf5517e96d972bac6e7dd1365..0000000000000000000000000000000000000000
--- a/src/inspector/InjectedScriptNative.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2015 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef V8_INSPECTOR_INJECTEDSCRIPTNATIVE_H_
-#define V8_INSPECTOR_INJECTEDSCRIPTNATIVE_H_
-
-#include "src/inspector/protocol/Protocol.h"
-
-#include "include/v8.h"
-
-#include <vector>
-
-namespace v8_inspector {
-
-class InjectedScriptNative final {
- public:
- explicit InjectedScriptNative(v8::Isolate*);
- ~InjectedScriptNative();
-
- void setOnInjectedScriptHost(v8::Local<v8::Object>);
- static InjectedScriptNative* fromInjectedScriptHost(v8::Isolate* isolate,
- v8::Local<v8::Object>);
-
- int bind(v8::Local<v8::Value>, const String16& groupName);
- void unbind(int id);
- v8::Local<v8::Value> objectForId(int id);
-
- void releaseObjectGroup(const String16& groupName);
- String16 groupName(int objectId) const;
-
- private:
- void addObjectToGroup(int objectId, const String16& groupName);
-
- int m_lastBoundObjectId;
- v8::Isolate* m_isolate;
- protocol::HashMap<int, std::unique_ptr<v8::Global<v8::Value>>>
- m_idToWrappedObject;
- typedef protocol::HashMap<int, String16> IdToObjectGroupName;
- IdToObjectGroupName m_idToObjectGroupName;
- typedef protocol::HashMap<String16, std::vector<int>> NameToObjectGroup;
- NameToObjectGroup m_nameToObjectGroup;
-};
-
-} // namespace v8_inspector
-
-#endif // V8_INSPECTOR_INJECTEDSCRIPTNATIVE_H_
« no previous file with comments | « src/inspector/InjectedScript.cpp ('k') | src/inspector/InjectedScriptNative.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698