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

Side by Side Diff: extensions/renderer/module_system_test.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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_RENDERER_MODULE_SYSTEM_TEST_H_ 5 #ifndef EXTENSIONS_RENDERER_MODULE_SYSTEM_TEST_H_
6 #define EXTENSIONS_RENDERER_MODULE_SYSTEM_TEST_H_ 6 #define EXTENSIONS_RENDERER_MODULE_SYSTEM_TEST_H_
7 7
8 #include "extensions/renderer/module_system.h" 8 #include "extensions/renderer/module_system.h"
9 #include "extensions/renderer/scoped_persistent.h"
10 #include "extensions/renderer/script_context.h" 9 #include "extensions/renderer/script_context.h"
11 #include "gin/public/context_holder.h" 10 #include "gin/public/context_holder.h"
12 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
13 #include "v8/include/v8.h" 12 #include "v8/include/v8.h"
14 13
15 namespace extensions { 14 namespace extensions {
16 15
17 class ModuleSystemTestEnvironment { 16 class ModuleSystemTestEnvironment {
18 public: 17 public:
19 class AssertNatives; 18 class AssertNatives;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 scoped_ptr<ModuleSystemTestEnvironment> env_; 101 scoped_ptr<ModuleSystemTestEnvironment> env_;
103 bool should_assertions_be_made_; 102 bool should_assertions_be_made_;
104 103
105 private: 104 private:
106 DISALLOW_COPY_AND_ASSIGN(ModuleSystemTest); 105 DISALLOW_COPY_AND_ASSIGN(ModuleSystemTest);
107 }; 106 };
108 107
109 } // namespace extensions 108 } // namespace extensions
110 109
111 #endif // EXTENSIONS_RENDERER_MODULE_SYSTEM_TEST_H_ 110 #endif // EXTENSIONS_RENDERER_MODULE_SYSTEM_TEST_H_
OLDNEW
« no previous file with comments | « extensions/renderer/messaging_bindings.cc ('k') | extensions/renderer/object_backed_native_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698