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

Side by Side Diff: chrome/browser/extensions/webstore_installer.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/webstore_installer.h" 5 #include "chrome/browser/extensions/webstore_installer.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 16 matching lines...) Expand all
27 #include "chrome/browser/extensions/crx_installer.h" 27 #include "chrome/browser/extensions/crx_installer.h"
28 #include "chrome/browser/extensions/install_tracker.h" 28 #include "chrome/browser/extensions/install_tracker.h"
29 #include "chrome/browser/extensions/install_tracker_factory.h" 29 #include "chrome/browser/extensions/install_tracker_factory.h"
30 #include "chrome/browser/extensions/install_verifier.h" 30 #include "chrome/browser/extensions/install_verifier.h"
31 #include "chrome/browser/extensions/shared_module_service.h" 31 #include "chrome/browser/extensions/shared_module_service.h"
32 #include "chrome/browser/profiles/profile.h" 32 #include "chrome/browser/profiles/profile.h"
33 #include "chrome/browser/ui/browser_list.h" 33 #include "chrome/browser/ui/browser_list.h"
34 #include "chrome/browser/ui/tabs/tab_strip_model.h" 34 #include "chrome/browser/ui/tabs/tab_strip_model.h"
35 #include "chrome/common/chrome_paths.h" 35 #include "chrome/common/chrome_paths.h"
36 #include "chrome/common/chrome_switches.h" 36 #include "chrome/common/chrome_switches.h"
37 #include "chrome/common/extensions/extension_constants.h"
38 #include "components/crx_file/id_util.h" 37 #include "components/crx_file/id_util.h"
39 #include "components/omaha_query_params/omaha_query_params.h" 38 #include "components/omaha_query_params/omaha_query_params.h"
40 #include "content/public/browser/browser_thread.h" 39 #include "content/public/browser/browser_thread.h"
41 #include "content/public/browser/download_manager.h" 40 #include "content/public/browser/download_manager.h"
42 #include "content/public/browser/download_save_info.h" 41 #include "content/public/browser/download_save_info.h"
43 #include "content/public/browser/download_url_parameters.h" 42 #include "content/public/browser/download_url_parameters.h"
44 #include "content/public/browser/navigation_controller.h" 43 #include "content/public/browser/navigation_controller.h"
45 #include "content/public/browser/navigation_entry.h" 44 #include "content/public/browser/navigation_entry.h"
46 #include "content/public/browser/notification_details.h" 45 #include "content/public/browser/notification_details.h"
47 #include "content/public/browser/notification_service.h" 46 #include "content/public/browser/notification_service.h"
48 #include "content/public/browser/notification_source.h" 47 #include "content/public/browser/notification_source.h"
49 #include "content/public/browser/render_process_host.h" 48 #include "content/public/browser/render_process_host.h"
50 #include "content/public/browser/render_view_host.h" 49 #include "content/public/browser/render_view_host.h"
51 #include "content/public/browser/web_contents.h" 50 #include "content/public/browser/web_contents.h"
52 #include "extensions/browser/extension_registry.h" 51 #include "extensions/browser/extension_registry.h"
53 #include "extensions/browser/extension_system.h" 52 #include "extensions/browser/extension_system.h"
54 #include "extensions/common/extension.h" 53 #include "extensions/common/extension.h"
54 #include "extensions/common/extension_urls.h"
55 #include "extensions/common/manifest_constants.h" 55 #include "extensions/common/manifest_constants.h"
56 #include "extensions/common/manifest_handlers/shared_module_info.h" 56 #include "extensions/common/manifest_handlers/shared_module_info.h"
57 #include "net/base/escape.h" 57 #include "net/base/escape.h"
58 #include "url/gurl.h" 58 #include "url/gurl.h"
59 59
60 #if defined(OS_CHROMEOS) 60 #if defined(OS_CHROMEOS)
61 #include "chrome/browser/chromeos/drive/file_system_util.h" 61 #include "chrome/browser/chromeos/drive/file_system_util.h"
62 #endif 62 #endif
63 63
64 using content::BrowserContext; 64 using content::BrowserContext;
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 1, 739 1,
740 kMaxSizeKb, 740 kMaxSizeKb,
741 kNumBuckets); 741 kNumBuckets);
742 } 742 }
743 UMA_HISTOGRAM_BOOLEAN( 743 UMA_HISTOGRAM_BOOLEAN(
744 "Extensions.WebstoreDownload.InterruptTotalSizeUnknown", 744 "Extensions.WebstoreDownload.InterruptTotalSizeUnknown",
745 total_bytes <= 0); 745 total_bytes <= 0);
746 } 746 }
747 747
748 } // namespace extensions 748 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/webstore_data_fetcher.cc ('k') | chrome/browser/extensions/webstore_standalone_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698