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

Side by Side Diff: chrome/renderer/extensions/chrome_v8_context.h

Issue 983793003: Replace extensions::ScopedPersistent with v8::UniquePersistent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « chrome/renderer/extensions/cast_streaming_native_handler.cc ('k') | extensions/extensions.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_EXTENSIONS_CHROME_V8_CONTEXT_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_CHROME_V8_CONTEXT_H_
6 #define CHROME_RENDERER_EXTENSIONS_CHROME_V8_CONTEXT_H_ 6 #define CHROME_RENDERER_EXTENSIONS_CHROME_V8_CONTEXT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "extensions/common/features/feature.h" 12 #include "extensions/common/features/feature.h"
13 #include "extensions/renderer/module_system.h" 13 #include "extensions/renderer/module_system.h"
14 #include "extensions/renderer/request_sender.h" 14 #include "extensions/renderer/request_sender.h"
15 #include "extensions/renderer/safe_builtins.h" 15 #include "extensions/renderer/safe_builtins.h"
16 #include "extensions/renderer/scoped_persistent.h"
17 #include "extensions/renderer/script_context.h" 16 #include "extensions/renderer/script_context.h"
18 #include "v8/include/v8.h" 17 #include "v8/include/v8.h"
19 18
20 namespace blink { 19 namespace blink {
21 class WebFrame; 20 class WebFrame;
22 } 21 }
23 22
24 namespace content { 23 namespace content {
25 class RenderView; 24 class RenderView;
26 } 25 }
(...skipping 11 matching lines...) Expand all
38 const Extension* effective_extension, 37 const Extension* effective_extension,
39 Feature::Context effective_context_type); 38 Feature::Context effective_context_type);
40 39
41 private: 40 private:
42 DISALLOW_COPY_AND_ASSIGN(ChromeV8Context); 41 DISALLOW_COPY_AND_ASSIGN(ChromeV8Context);
43 }; 42 };
44 43
45 } // namespace extensions 44 } // namespace extensions
46 45
47 #endif // CHROME_RENDERER_EXTENSIONS_CHROME_V8_CONTEXT_H_ 46 #endif // CHROME_RENDERER_EXTENSIONS_CHROME_V8_CONTEXT_H_
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/cast_streaming_native_handler.cc ('k') | extensions/extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698