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

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

Issue 1269773002: Cleanup VersionInfo after componentization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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 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 "chrome/browser/extensions/extension_system_impl.h" 5 #include "chrome/browser/extensions/extension_system_impl.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 11 matching lines...) Expand all
22 #include "chrome/browser/extensions/install_verifier.h" 22 #include "chrome/browser/extensions/install_verifier.h"
23 #include "chrome/browser/extensions/navigation_observer.h" 23 #include "chrome/browser/extensions/navigation_observer.h"
24 #include "chrome/browser/extensions/shared_module_service.h" 24 #include "chrome/browser/extensions/shared_module_service.h"
25 #include "chrome/browser/extensions/shared_user_script_master.h" 25 #include "chrome/browser/extensions/shared_user_script_master.h"
26 #include "chrome/browser/extensions/state_store_notification_observer.h" 26 #include "chrome/browser/extensions/state_store_notification_observer.h"
27 #include "chrome/browser/extensions/unpacked_installer.h" 27 #include "chrome/browser/extensions/unpacked_installer.h"
28 #include "chrome/browser/profiles/profile.h" 28 #include "chrome/browser/profiles/profile.h"
29 #include "chrome/browser/profiles/profile_manager.h" 29 #include "chrome/browser/profiles/profile_manager.h"
30 #include "chrome/browser/ui/webui/extensions/extension_icon_source.h" 30 #include "chrome/browser/ui/webui/extensions/extension_icon_source.h"
31 #include "chrome/common/chrome_switches.h" 31 #include "chrome/common/chrome_switches.h"
32 #include "chrome/common/chrome_version_info.h"
33 #include "chrome/common/extensions/features/feature_channel.h" 32 #include "chrome/common/extensions/features/feature_channel.h"
34 #include "content/public/browser/browser_thread.h" 33 #include "content/public/browser/browser_thread.h"
35 #include "content/public/browser/url_data_source.h" 34 #include "content/public/browser/url_data_source.h"
36 #include "extensions/browser/content_verifier.h" 35 #include "extensions/browser/content_verifier.h"
37 #include "extensions/browser/extension_pref_store.h" 36 #include "extensions/browser/extension_pref_store.h"
38 #include "extensions/browser/extension_pref_value_map.h" 37 #include "extensions/browser/extension_pref_value_map.h"
39 #include "extensions/browser/extension_pref_value_map_factory.h" 38 #include "extensions/browser/extension_pref_value_map_factory.h"
40 #include "extensions/browser/extension_prefs.h" 39 #include "extensions/browser/extension_prefs.h"
41 #include "extensions/browser/extension_registry.h" 40 #include "extensions/browser/extension_registry.h"
42 #include "extensions/browser/info_map.h" 41 #include "extensions/browser/info_map.h"
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 void ExtensionSystemImpl::UnregisterExtensionWithRequestContexts( 380 void ExtensionSystemImpl::UnregisterExtensionWithRequestContexts(
382 const std::string& extension_id, 381 const std::string& extension_id,
383 const UnloadedExtensionInfo::Reason reason) { 382 const UnloadedExtensionInfo::Reason reason) {
384 BrowserThread::PostTask( 383 BrowserThread::PostTask(
385 BrowserThread::IO, 384 BrowserThread::IO,
386 FROM_HERE, 385 FROM_HERE,
387 base::Bind(&InfoMap::RemoveExtension, info_map(), extension_id, reason)); 386 base::Bind(&InfoMap::RemoveExtension, info_map(), extension_id, reason));
388 } 387 }
389 388
390 } // namespace extensions 389 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698