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

Side by Side Diff: chrome/browser/download/download_crx_util.h

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 // Download code which handles CRX files (extensions, themes, apps, ...). 5 // Download code which handles CRX files (extensions, themes, apps, ...).
6 6
7 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_CRX_UTIL_H_ 7 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_CRX_UTIL_H_
8 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_CRX_UTIL_H_ 8 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_CRX_UTIL_H_
9 9
10 10
11 #include "base/basictypes.h"
12 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
14 13
15 class ExtensionInstallPrompt; 14 class ExtensionInstallPrompt;
16 class Profile; 15 class Profile;
17 16
18 namespace content { 17 namespace content {
19 class DownloadItem; 18 class DownloadItem;
20 } 19 }
21 20
(...skipping 26 matching lines...) Expand all
48 bool IsExtensionDownload(const content::DownloadItem& download_item); 47 bool IsExtensionDownload(const content::DownloadItem& download_item);
49 48
50 // Checks whether an extension download should be allowed to proceed because the 49 // Checks whether an extension download should be allowed to proceed because the
51 // installation site is whitelisted in prefs. 50 // installation site is whitelisted in prefs.
52 bool OffStoreInstallAllowedByPrefs(Profile* profile, 51 bool OffStoreInstallAllowedByPrefs(Profile* profile,
53 const content::DownloadItem& item); 52 const content::DownloadItem& item);
54 53
55 } // namespace download_crx_util 54 } // namespace download_crx_util
56 55
57 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_CRX_UTIL_H_ 56 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_CRX_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_completion_blocker.h ('k') | chrome/browser/download/download_danger_prompt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698