| 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 #include "extensions/renderer/user_script_set.h" | 5 #include "extensions/renderer/user_script_set.h" |
| 6 | 6 |
| 7 #include "content/public/common/url_constants.h" | 7 #include "content/public/common/url_constants.h" |
| 8 #include "content/public/renderer/render_thread.h" | 8 #include "content/public/renderer/render_thread.h" |
| 9 #include "extensions/common/extension.h" | 9 #include "extensions/common/extension.h" |
| 10 #include "extensions/common/extension_messages.h" | |
| 11 #include "extensions/common/extension_set.h" | 10 #include "extensions/common/extension_set.h" |
| 12 #include "extensions/common/permissions/permissions_data.h" | 11 #include "extensions/common/permissions/permissions_data.h" |
| 13 #include "extensions/renderer/extensions_renderer_client.h" | 12 #include "extensions/renderer/extensions_renderer_client.h" |
| 14 #include "extensions/renderer/script_context.h" | 13 #include "extensions/renderer/script_context.h" |
| 15 #include "extensions/renderer/script_injection.h" | 14 #include "extensions/renderer/script_injection.h" |
| 16 #include "extensions/renderer/user_script_injector.h" | 15 #include "extensions/renderer/user_script_injector.h" |
| 17 #include "third_party/WebKit/public/web/WebDocument.h" | 16 #include "third_party/WebKit/public/web/WebDocument.h" |
| 18 #include "third_party/WebKit/public/web/WebFrame.h" | 17 #include "third_party/WebKit/public/web/WebFrame.h" |
| 19 #include "url/gurl.h" | 18 #include "url/gurl.h" |
| 20 | 19 |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 injector.Pass(), | 210 injector.Pass(), |
| 212 web_frame, | 211 web_frame, |
| 213 extension->id(), | 212 extension->id(), |
| 214 run_location, | 213 run_location, |
| 215 tab_id)); | 214 tab_id)); |
| 216 } | 215 } |
| 217 return injection.Pass(); | 216 return injection.Pass(); |
| 218 } | 217 } |
| 219 | 218 |
| 220 } // namespace extensions | 219 } // namespace extensions |
| OLD | NEW |