OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/extensions_service.h" | 5 #include "chrome/browser/extensions/extensions_service.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/histogram.h" | 10 #include "base/histogram.h" |
11 #include "base/string16.h" | 11 #include "base/string16.h" |
12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
13 #include "base/time.h" | 13 #include "base/time.h" |
14 #include "base/values.h" | 14 #include "base/values.h" |
15 #include "base/version.h" | 15 #include "base/version.h" |
16 #include "chrome/browser/browser_process.h" | 16 #include "chrome/browser/browser_process.h" |
17 #include "chrome/browser/chrome_thread.h" | 17 #include "chrome/browser/chrome_thread.h" |
18 #include "chrome/browser/debugger/devtools_manager.h" | 18 #include "chrome/browser/debugger/devtools_manager.h" |
19 #include "chrome/browser/extensions/crx_installer.h" | 19 #include "chrome/browser/extensions/crx_installer.h" |
20 #include "chrome/browser/extensions/extension_accessibility_api.h" | 20 #include "chrome/browser/extensions/extension_accessibility_api.h" |
21 #include "chrome/browser/extensions/extension_bookmarks_module.h" | 21 #include "chrome/browser/extensions/extension_bookmarks_module.h" |
22 #include "chrome/browser/extensions/extension_browser_event_router.h" | 22 #include "chrome/browser/extensions/extension_browser_event_router.h" |
23 #include "chrome/browser/extensions/extension_data_deleter.h" | 23 #include "chrome/browser/extensions/extension_data_deleter.h" |
24 #include "chrome/browser/extensions/extension_dom_ui.h" | 24 #include "chrome/browser/extensions/extension_dom_ui.h" |
| 25 #include "chrome/browser/extensions/extension_error_reporter.h" |
25 #include "chrome/browser/extensions/extension_history_api.h" | 26 #include "chrome/browser/extensions/extension_history_api.h" |
26 #include "chrome/browser/extensions/extension_host.h" | 27 #include "chrome/browser/extensions/extension_host.h" |
27 #include "chrome/browser/extensions/extension_process_manager.h" | 28 #include "chrome/browser/extensions/extension_process_manager.h" |
28 #include "chrome/browser/extensions/extension_updater.h" | 29 #include "chrome/browser/extensions/extension_updater.h" |
29 #include "chrome/browser/extensions/external_extension_provider.h" | 30 #include "chrome/browser/extensions/external_extension_provider.h" |
30 #include "chrome/browser/extensions/external_pref_extension_provider.h" | 31 #include "chrome/browser/extensions/external_pref_extension_provider.h" |
31 #include "chrome/browser/pref_service.h" | 32 #include "chrome/browser/pref_service.h" |
32 #include "chrome/browser/profile.h" | 33 #include "chrome/browser/profile.h" |
33 #include "chrome/browser/net/chrome_url_request_context.h" | 34 #include "chrome/browser/net/chrome_url_request_context.h" |
34 #include "chrome/common/child_process_logging.h" | 35 #include "chrome/common/child_process_logging.h" |
35 #include "chrome/common/chrome_switches.h" | 36 #include "chrome/common/chrome_switches.h" |
36 #include "chrome/common/extensions/extension.h" | 37 #include "chrome/common/extensions/extension.h" |
37 #include "chrome/common/extensions/extension_constants.h" | 38 #include "chrome/common/extensions/extension_constants.h" |
38 #include "chrome/common/extensions/extension_error_reporter.h" | |
39 #include "chrome/common/extensions/extension_file_util.h" | 39 #include "chrome/common/extensions/extension_file_util.h" |
40 #include "chrome/common/extensions/extension_l10n_util.h" | 40 #include "chrome/common/extensions/extension_l10n_util.h" |
41 #include "chrome/common/notification_service.h" | 41 #include "chrome/common/notification_service.h" |
42 #include "chrome/common/notification_type.h" | 42 #include "chrome/common/notification_type.h" |
43 #include "chrome/common/json_value_serializer.h" | 43 #include "chrome/common/json_value_serializer.h" |
44 #include "chrome/common/pref_names.h" | 44 #include "chrome/common/pref_names.h" |
45 #include "chrome/common/url_constants.h" | 45 #include "chrome/common/url_constants.h" |
46 #include "googleurl/src/gurl.h" | 46 #include "googleurl/src/gurl.h" |
47 #include "webkit/database/database_tracker.h" | 47 #include "webkit/database/database_tracker.h" |
48 #include "webkit/database/database_util.h" | 48 #include "webkit/database/database_util.h" |
(...skipping 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1232 // Finish installing on UI thread. | 1232 // Finish installing on UI thread. |
1233 ChromeThread::PostTask( | 1233 ChromeThread::PostTask( |
1234 ChromeThread::UI, FROM_HERE, | 1234 ChromeThread::UI, FROM_HERE, |
1235 NewRunnableMethod( | 1235 NewRunnableMethod( |
1236 frontend_, | 1236 frontend_, |
1237 &ExtensionsService::ContinueLoadAllExtensions, | 1237 &ExtensionsService::ContinueLoadAllExtensions, |
1238 extensions_to_reload, | 1238 extensions_to_reload, |
1239 start_time, | 1239 start_time, |
1240 true)); | 1240 true)); |
1241 } | 1241 } |
OLD | NEW |