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

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

Issue 575113002: Move Webstore URL concepts to //extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ENABLE_EXTENSIONS guard in core chrome code Created 6 years, 3 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 <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <set> 9 #include <set>
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 #include "extensions/browser/event_router.h" 66 #include "extensions/browser/event_router.h"
67 #include "extensions/browser/extension_host.h" 67 #include "extensions/browser/extension_host.h"
68 #include "extensions/browser/extension_prefs.h" 68 #include "extensions/browser/extension_prefs.h"
69 #include "extensions/browser/extension_registry.h" 69 #include "extensions/browser/extension_registry.h"
70 #include "extensions/browser/extension_system.h" 70 #include "extensions/browser/extension_system.h"
71 #include "extensions/browser/install_flag.h" 71 #include "extensions/browser/install_flag.h"
72 #include "extensions/browser/runtime_data.h" 72 #include "extensions/browser/runtime_data.h"
73 #include "extensions/browser/uninstall_reason.h" 73 #include "extensions/browser/uninstall_reason.h"
74 #include "extensions/browser/update_observer.h" 74 #include "extensions/browser/update_observer.h"
75 #include "extensions/common/extension_messages.h" 75 #include "extensions/common/extension_messages.h"
76 #include "extensions/common/extension_urls.h"
76 #include "extensions/common/feature_switch.h" 77 #include "extensions/common/feature_switch.h"
77 #include "extensions/common/file_util.h" 78 #include "extensions/common/file_util.h"
78 #include "extensions/common/manifest_constants.h" 79 #include "extensions/common/manifest_constants.h"
79 #include "extensions/common/manifest_handlers/background_info.h" 80 #include "extensions/common/manifest_handlers/background_info.h"
80 #include "extensions/common/one_shot_event.h" 81 #include "extensions/common/one_shot_event.h"
81 #include "extensions/common/permissions/permission_message_provider.h" 82 #include "extensions/common/permissions/permission_message_provider.h"
82 #include "extensions/common/permissions/permissions_data.h" 83 #include "extensions/common/permissions/permissions_data.h"
83 84
84 #if defined(OS_CHROMEOS) 85 #if defined(OS_CHROMEOS)
85 #include "chrome/browser/chromeos/extensions/install_limiter.h" 86 #include "chrome/browser/chromeos/extensions/install_limiter.h"
(...skipping 2264 matching lines...) Expand 10 before | Expand all | Expand 10 after
2350 } 2351 }
2351 2352
2352 void ExtensionService::OnProfileDestructionStarted() { 2353 void ExtensionService::OnProfileDestructionStarted() {
2353 ExtensionIdSet ids_to_unload = registry_->enabled_extensions().GetIDs(); 2354 ExtensionIdSet ids_to_unload = registry_->enabled_extensions().GetIDs();
2354 for (ExtensionIdSet::iterator it = ids_to_unload.begin(); 2355 for (ExtensionIdSet::iterator it = ids_to_unload.begin();
2355 it != ids_to_unload.end(); 2356 it != ids_to_unload.end();
2356 ++it) { 2357 ++it) {
2357 UnloadExtension(*it, UnloadedExtensionInfo::REASON_PROFILE_SHUTDOWN); 2358 UnloadExtension(*it, UnloadedExtensionInfo::REASON_PROFILE_SHUTDOWN);
2358 } 2359 }
2359 } 2360 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_assets_manager_chromeos.cc ('k') | chrome/browser/extensions/extension_system_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698