OLD | NEW |
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_USER_SCRIPT_SLAVE_H_ | 5 #ifndef CHROME_RENDERER_EXTENSIONS_USER_SCRIPT_SLAVE_H_ |
6 #define CHROME_RENDERER_EXTENSIONS_USER_SCRIPT_SLAVE_H_ | 6 #define CHROME_RENDERER_EXTENSIONS_USER_SCRIPT_SLAVE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/shared_memory.h" | 14 #include "base/memory/shared_memory.h" |
15 #include "base/stl_util.h" | 15 #include "base/stl_util.h" |
16 #include "base/strings/string_piece.h" | 16 #include "base/strings/string_piece.h" |
17 #include "chrome/common/extensions/user_script.h" | 17 #include "extensions/common/user_script.h" |
18 #include "third_party/WebKit/public/web/WebScriptSource.h" | 18 #include "third_party/WebKit/public/web/WebScriptSource.h" |
19 | 19 |
20 class ExtensionSet; | 20 class ExtensionSet; |
21 class GURL; | 21 class GURL; |
22 | 22 |
23 namespace WebKit { | 23 namespace WebKit { |
24 class WebFrame; | 24 class WebFrame; |
25 } | 25 } |
26 | 26 |
27 using WebKit::WebScriptSource; | 27 using WebKit::WebScriptSource; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 | 82 |
83 typedef std::map<std::string, int> IsolatedWorldMap; | 83 typedef std::map<std::string, int> IsolatedWorldMap; |
84 IsolatedWorldMap isolated_world_ids_; | 84 IsolatedWorldMap isolated_world_ids_; |
85 | 85 |
86 DISALLOW_COPY_AND_ASSIGN(UserScriptSlave); | 86 DISALLOW_COPY_AND_ASSIGN(UserScriptSlave); |
87 }; | 87 }; |
88 | 88 |
89 } // namespace extensions | 89 } // namespace extensions |
90 | 90 |
91 #endif // CHROME_RENDERER_EXTENSIONS_USER_SCRIPT_SLAVE_H_ | 91 #endif // CHROME_RENDERER_EXTENSIONS_USER_SCRIPT_SLAVE_H_ |
OLD | NEW |