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

Unified Diff: src/inspector/V8InjectedScriptHost.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/V8HeapProfilerAgentImpl.cpp ('k') | src/inspector/V8InjectedScriptHost.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/V8InjectedScriptHost.h
diff --git a/src/inspector/V8InjectedScriptHost.h b/src/inspector/V8InjectedScriptHost.h
deleted file mode 100644
index 7d293af5a754d8543e092d4deaca1caf0d0f7f16..0000000000000000000000000000000000000000
--- a/src/inspector/V8InjectedScriptHost.h
+++ /dev/null
@@ -1,46 +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_V8INJECTEDSCRIPTHOST_H_
-#define V8_INSPECTOR_V8INJECTEDSCRIPTHOST_H_
-
-#include "include/v8.h"
-
-namespace v8_inspector {
-
-class V8InspectorImpl;
-
-// SECURITY NOTE: Although the InjectedScriptHost is intended for use solely by
-// the inspector,
-// a reference to the InjectedScriptHost may be leaked to the page being
-// inspected. Thus, the
-// InjectedScriptHost must never implemment methods that have more power over
-// the page than the
-// page already has itself (e.g. origin restriction bypasses).
-
-class V8InjectedScriptHost {
- public:
- // We expect that debugger outlives any JS context and thus
- // V8InjectedScriptHost (owned by JS)
- // is destroyed before inspector.
- static v8::Local<v8::Object> create(v8::Local<v8::Context>, V8InspectorImpl*);
-
- private:
- static void internalConstructorNameCallback(
- const v8::FunctionCallbackInfo<v8::Value>&);
- static void formatAccessorsAsProperties(
- const v8::FunctionCallbackInfo<v8::Value>&);
- static void subtypeCallback(const v8::FunctionCallbackInfo<v8::Value>&);
- static void getInternalPropertiesCallback(
- const v8::FunctionCallbackInfo<v8::Value>&);
- static void objectHasOwnPropertyCallback(
- const v8::FunctionCallbackInfo<v8::Value>&);
- static void bindCallback(const v8::FunctionCallbackInfo<v8::Value>&);
- static void proxyTargetValueCallback(
- const v8::FunctionCallbackInfo<v8::Value>&);
-};
-
-} // namespace v8_inspector
-
-#endif // V8_INSPECTOR_V8INJECTEDSCRIPTHOST_H_
« no previous file with comments | « src/inspector/V8HeapProfilerAgentImpl.cpp ('k') | src/inspector/V8InjectedScriptHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698