OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "chrome/browser/extensions/api/execute_code_function.h" | 5 #include "chrome/browser/extensions/api/execute_code_function.h" |
6 | 6 |
7 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" | 7 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" |
8 #include "chrome/browser/extensions/image_loader.h" | |
9 #include "chrome/browser/extensions/script_executor.h" | 8 #include "chrome/browser/extensions/script_executor.h" |
10 #include "chrome/common/extensions/api/i18n/default_locale_handler.h" | 9 #include "chrome/common/extensions/api/i18n/default_locale_handler.h" |
11 #include "extensions/browser/file_reader.h" | 10 #include "extensions/browser/file_reader.h" |
| 11 #include "extensions/browser/image_loader.h" |
12 #include "extensions/common/error_utils.h" | 12 #include "extensions/common/error_utils.h" |
13 #include "extensions/common/extension_messages.h" | 13 #include "extensions/common/extension_messages.h" |
14 #include "extensions/common/file_util.h" | 14 #include "extensions/common/file_util.h" |
15 #include "extensions/common/message_bundle.h" | 15 #include "extensions/common/message_bundle.h" |
16 #include "net/base/filename_util.h" | 16 #include "net/base/filename_util.h" |
17 #include "ui/base/resource/resource_bundle.h" | 17 #include "ui/base/resource/resource_bundle.h" |
18 | 18 |
19 namespace extensions { | 19 namespace extensions { |
20 | 20 |
21 namespace keys = tabs_constants; | 21 namespace keys = tabs_constants; |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 int32 on_page_id, | 215 int32 on_page_id, |
216 const GURL& on_url, | 216 const GURL& on_url, |
217 const base::ListValue& result) { | 217 const base::ListValue& result) { |
218 if (!error.empty()) | 218 if (!error.empty()) |
219 SetError(error); | 219 SetError(error); |
220 | 220 |
221 SendResponse(error.empty()); | 221 SendResponse(error.empty()); |
222 } | 222 } |
223 | 223 |
224 } // namespace extensions | 224 } // namespace extensions |
OLD | NEW |