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

Side by Side Diff: extensions/browser/updater/extension_cache.h

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
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 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 #ifndef EXTENSIONS_BROWSER_UPDATER_EXTENSION_CACHE_H_ 5 #ifndef EXTENSIONS_BROWSER_UPDATER_EXTENSION_CACHE_H_
6 #define EXTENSIONS_BROWSER_UPDATER_EXTENSION_CACHE_H_ 6 #define EXTENSIONS_BROWSER_UPDATER_EXTENSION_CACHE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/macros.h"
12 13
13 namespace extensions { 14 namespace extensions {
14 15
15 // ExtensionCache interface that caches extensions .crx files to share them 16 // ExtensionCache interface that caches extensions .crx files to share them
16 // between multiple users and profiles on the machine. 17 // between multiple users and profiles on the machine.
17 class ExtensionCache { 18 class ExtensionCache {
18 public: 19 public:
19 // Callback that is invoked when the file placed when PutExtension done. 20 // Callback that is invoked when the file placed when PutExtension done.
20 typedef base::Callback<void(const base::FilePath& file_path, 21 typedef base::Callback<void(const base::FilePath& file_path,
21 bool file_ownership_passed)> PutExtensionCallback; 22 bool file_ownership_passed)> PutExtensionCallback;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 const std::string& version, 57 const std::string& version,
57 const PutExtensionCallback& callback) = 0; 58 const PutExtensionCallback& callback) = 0;
58 59
59 private: 60 private:
60 DISALLOW_COPY_AND_ASSIGN(ExtensionCache); 61 DISALLOW_COPY_AND_ASSIGN(ExtensionCache);
61 }; 62 };
62 63
63 } // namespace extensions 64 } // namespace extensions
64 65
65 #endif // EXTENSIONS_BROWSER_UPDATER_EXTENSION_CACHE_H_ 66 #endif // EXTENSIONS_BROWSER_UPDATER_EXTENSION_CACHE_H_
OLDNEW
« no previous file with comments | « extensions/browser/test_image_loader.h ('k') | extensions/browser/updater/extension_downloader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698