OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 CHROME_BROWSER_CHROMEOS_EXTENSIONS_EXTERNAL_CACHE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_EXTERNAL_CACHE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_EXTERNAL_CACHE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_EXTERNAL_CACHE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "base/gtest_prod_util.h" | |
14 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
17 #include "base/sequenced_task_runner.h" | 16 #include "base/sequenced_task_runner.h" |
18 #include "chrome/browser/extensions/updater/local_extension_cache.h" | 17 #include "chrome/browser/extensions/updater/local_extension_cache.h" |
19 #include "content/public/browser/notification_observer.h" | 18 #include "content/public/browser/notification_observer.h" |
20 #include "content/public/browser/notification_registrar.h" | 19 #include "content/public/browser/notification_registrar.h" |
21 #include "extensions/browser/updater/extension_downloader_delegate.h" | 20 #include "extensions/browser/updater/extension_downloader_delegate.h" |
22 | 21 |
23 namespace base { | 22 namespace base { |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 | 186 |
188 // Weak factory for callbacks. | 187 // Weak factory for callbacks. |
189 base::WeakPtrFactory<ExternalCache> weak_ptr_factory_; | 188 base::WeakPtrFactory<ExternalCache> weak_ptr_factory_; |
190 | 189 |
191 DISALLOW_COPY_AND_ASSIGN(ExternalCache); | 190 DISALLOW_COPY_AND_ASSIGN(ExternalCache); |
192 }; | 191 }; |
193 | 192 |
194 } // namespace chromeos | 193 } // namespace chromeos |
195 | 194 |
196 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_EXTERNAL_CACHE_H_ | 195 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_EXTERNAL_CACHE_H_ |
OLD | NEW |