OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONTENT_SCRIPT_MANAGER_H | 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONTENT_SCRIPT_MANAGER_H |
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONTENT_SCRIPT_MANAGER_H | 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONTENT_SCRIPT_MANAGER_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/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/macros.h" |
14 #include "base/supports_user_data.h" | 15 #include "base/supports_user_data.h" |
15 #include "extensions/browser/user_script_loader.h" | 16 #include "extensions/browser/user_script_loader.h" |
16 | 17 |
17 struct HostID; | 18 struct HostID; |
18 | 19 |
19 namespace content { | 20 namespace content { |
20 class BrowserContext; | 21 class BrowserContext; |
21 class RenderViewHost; | 22 class RenderViewHost; |
22 class WebContents; | 23 class WebContents; |
23 } | 24 } |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 std::vector<base::Closure> pending_scripts_loading_callbacks_; | 101 std::vector<base::Closure> pending_scripts_loading_callbacks_; |
101 | 102 |
102 content::BrowserContext* browser_context_; | 103 content::BrowserContext* browser_context_; |
103 | 104 |
104 DISALLOW_COPY_AND_ASSIGN(WebViewContentScriptManager); | 105 DISALLOW_COPY_AND_ASSIGN(WebViewContentScriptManager); |
105 }; | 106 }; |
106 | 107 |
107 } // namespace extensions | 108 } // namespace extensions |
108 | 109 |
109 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONTENT_SCRIPT_MANAGE
R_H | 110 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONTENT_SCRIPT_MANAGE
R_H |
OLD | NEW |