Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(403)

Side by Side Diff: chrome/browser/extensions/extension_service.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/extension_service.h" 5 #include "chrome/browser/extensions/extension_service.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <iterator> 10 #include <iterator>
11 #include <set> 11 #include <set>
12 12
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/location.h" 14 #include "base/location.h"
15 #include "base/metrics/histogram_macros.h" 15 #include "base/metrics/histogram_macros.h"
16 #include "base/profiler/scoped_profile.h" 16 #include "base/profiler/scoped_profile.h"
17 #include "base/single_thread_task_runner.h" 17 #include "base/single_thread_task_runner.h"
18 #include "base/strings/string_number_conversions.h" 18 #include "base/strings/string_number_conversions.h"
19 #include "base/strings/stringprintf.h" 19 #include "base/strings/stringprintf.h"
20 #include "base/strings/utf_string_conversions.h" 20 #include "base/strings/utf_string_conversions.h"
21 #include "base/thread_task_runner_handle.h"
22 #include "base/threading/sequenced_worker_pool.h" 21 #include "base/threading/sequenced_worker_pool.h"
23 #include "base/threading/thread_restrictions.h" 22 #include "base/threading/thread_restrictions.h"
23 #include "base/threading/thread_task_runner_handle.h"
24 #include "base/time/time.h" 24 #include "base/time/time.h"
25 #include "base/trace_event/trace_event.h" 25 #include "base/trace_event/trace_event.h"
26 #include "build/build_config.h" 26 #include "build/build_config.h"
27 #include "chrome/browser/browser_process.h" 27 #include "chrome/browser/browser_process.h"
28 #include "chrome/browser/chrome_notification_types.h" 28 #include "chrome/browser/chrome_notification_types.h"
29 #include "chrome/browser/content_settings/content_settings_internal_extension_pr ovider.h" 29 #include "chrome/browser/content_settings/content_settings_internal_extension_pr ovider.h"
30 #include "chrome/browser/extensions/api/content_settings/content_settings_custom _extension_provider.h" 30 #include "chrome/browser/extensions/api/content_settings/content_settings_custom _extension_provider.h"
31 #include "chrome/browser/extensions/api/content_settings/content_settings_servic e.h" 31 #include "chrome/browser/extensions/api/content_settings/content_settings_servic e.h"
32 #include "chrome/browser/extensions/app_data_migrator.h" 32 #include "chrome/browser/extensions/app_data_migrator.h"
33 #include "chrome/browser/extensions/component_loader.h" 33 #include "chrome/browser/extensions/component_loader.h"
(...skipping 2392 matching lines...) Expand 10 before | Expand all | Expand 10 after
2426 } 2426 }
2427 2427
2428 void ExtensionService::OnProfileDestructionStarted() { 2428 void ExtensionService::OnProfileDestructionStarted() {
2429 ExtensionIdSet ids_to_unload = registry_->enabled_extensions().GetIDs(); 2429 ExtensionIdSet ids_to_unload = registry_->enabled_extensions().GetIDs();
2430 for (ExtensionIdSet::iterator it = ids_to_unload.begin(); 2430 for (ExtensionIdSet::iterator it = ids_to_unload.begin();
2431 it != ids_to_unload.end(); 2431 it != ids_to_unload.end();
2432 ++it) { 2432 ++it) {
2433 UnloadExtension(*it, UnloadedExtensionInfo::REASON_PROFILE_SHUTDOWN); 2433 UnloadExtension(*it, UnloadedExtensionInfo::REASON_PROFILE_SHUTDOWN);
2434 } 2434 }
2435 } 2435 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_install_prompt.cc ('k') | chrome/browser/extensions/extension_service_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698