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

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

Issue 1296483003: Move chrome/browser/chromeos/drive/resource* (+deps) into components/drive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 (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 <set> 7 #include <set>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #include "extensions/browser/install/crx_install_error.h" 53 #include "extensions/browser/install/crx_install_error.h"
54 #include "extensions/common/extension.h" 54 #include "extensions/common/extension.h"
55 #include "extensions/common/extension_urls.h" 55 #include "extensions/common/extension_urls.h"
56 #include "extensions/common/manifest_constants.h" 56 #include "extensions/common/manifest_constants.h"
57 #include "extensions/common/manifest_handlers/shared_module_info.h" 57 #include "extensions/common/manifest_handlers/shared_module_info.h"
58 #include "net/base/escape.h" 58 #include "net/base/escape.h"
59 #include "ui/base/l10n/l10n_util.h" 59 #include "ui/base/l10n/l10n_util.h"
60 #include "url/gurl.h" 60 #include "url/gurl.h"
61 61
62 #if defined(OS_CHROMEOS) 62 #if defined(OS_CHROMEOS)
63 #include "chrome/browser/chromeos/drive/file_system_core_util.h" 63 #include "chrome/browser/chromeos/drive/file_system_util.h"
64 #endif 64 #endif
65 65
66 using content::BrowserContext; 66 using content::BrowserContext;
67 using content::BrowserThread; 67 using content::BrowserThread;
68 using content::DownloadItem; 68 using content::DownloadItem;
69 using content::DownloadManager; 69 using content::DownloadManager;
70 using content::NavigationController; 70 using content::NavigationController;
71 using content::DownloadUrlParameters; 71 using content::DownloadUrlParameters;
72 72
73 namespace { 73 namespace {
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 1, 783 1,
784 kMaxSizeKb, 784 kMaxSizeKb,
785 kNumBuckets); 785 kNumBuckets);
786 } 786 }
787 UMA_HISTOGRAM_BOOLEAN( 787 UMA_HISTOGRAM_BOOLEAN(
788 "Extensions.WebstoreDownload.InterruptTotalSizeUnknown", 788 "Extensions.WebstoreDownload.InterruptTotalSizeUnknown",
789 total_bytes <= 0); 789 total_bytes <= 0);
790 } 790 }
791 791
792 } // namespace extensions 792 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698