OLD | NEW |
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_SCRIPT_CONTEXT_H_ | 5 #ifndef EXTENSIONS_RENDERER_SCRIPT_CONTEXT_H_ |
6 #define EXTENSIONS_RENDERER_SCRIPT_CONTEXT_H_ | 6 #define EXTENSIONS_RENDERER_SCRIPT_CONTEXT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | |
13 #include "base/callback.h" | 12 #include "base/callback.h" |
14 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/macros.h" |
15 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
16 #include "extensions/common/features/feature.h" | 16 #include "extensions/common/features/feature.h" |
17 #include "extensions/common/permissions/api_permission_set.h" | 17 #include "extensions/common/permissions/api_permission_set.h" |
18 #include "extensions/renderer/module_system.h" | 18 #include "extensions/renderer/module_system.h" |
19 #include "extensions/renderer/request_sender.h" | 19 #include "extensions/renderer/request_sender.h" |
20 #include "extensions/renderer/safe_builtins.h" | 20 #include "extensions/renderer/safe_builtins.h" |
21 #include "gin/runner.h" | 21 #include "gin/runner.h" |
22 #include "url/gurl.h" | 22 #include "url/gurl.h" |
23 #include "v8/include/v8.h" | 23 #include "v8/include/v8.h" |
24 | 24 |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 scoped_ptr<Runner> runner_; | 250 scoped_ptr<Runner> runner_; |
251 | 251 |
252 base::ThreadChecker thread_checker_; | 252 base::ThreadChecker thread_checker_; |
253 | 253 |
254 DISALLOW_COPY_AND_ASSIGN(ScriptContext); | 254 DISALLOW_COPY_AND_ASSIGN(ScriptContext); |
255 }; | 255 }; |
256 | 256 |
257 } // namespace extensions | 257 } // namespace extensions |
258 | 258 |
259 #endif // EXTENSIONS_RENDERER_SCRIPT_CONTEXT_H_ | 259 #endif // EXTENSIONS_RENDERER_SCRIPT_CONTEXT_H_ |
OLD | NEW |