OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 EXTENSIONS_BROWSER_API_SYSTEM_STORAGE_STORAGE_INFO_PROVIDER_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_SYSTEM_STORAGE_STORAGE_INFO_PROVIDER_H_ |
6 #define EXTENSIONS_BROWSER_API_SYSTEM_STORAGE_STORAGE_INFO_PROVIDER_H_ | 6 #define EXTENSIONS_BROWSER_API_SYSTEM_STORAGE_STORAGE_INFO_PROVIDER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/observer_list_threadsafe.h" | 13 #include "base/observer_list_threadsafe.h" |
13 #include "extensions/browser/api/system_info/system_info_provider.h" | 14 #include "extensions/browser/api/system_info/system_info_provider.h" |
14 #include "extensions/common/api/system_storage.h" | 15 #include "extensions/common/api/system_storage.h" |
15 | 16 |
16 namespace storage_monitor { | 17 namespace storage_monitor { |
17 class StorageInfo; | 18 class StorageInfo; |
18 } | 19 } |
19 | 20 |
20 namespace extensions { | 21 namespace extensions { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 bool QueryInfo() override; | 75 bool QueryInfo() override; |
75 | 76 |
76 static base::LazyInstance<scoped_refptr<StorageInfoProvider> > provider_; | 77 static base::LazyInstance<scoped_refptr<StorageInfoProvider> > provider_; |
77 | 78 |
78 DISALLOW_COPY_AND_ASSIGN(StorageInfoProvider); | 79 DISALLOW_COPY_AND_ASSIGN(StorageInfoProvider); |
79 }; | 80 }; |
80 | 81 |
81 } // namespace extensions | 82 } // namespace extensions |
82 | 83 |
83 #endif // EXTENSIONS_BROWSER_API_SYSTEM_STORAGE_STORAGE_INFO_PROVIDER_H_ | 84 #endif // EXTENSIONS_BROWSER_API_SYSTEM_STORAGE_STORAGE_INFO_PROVIDER_H_ |
OLD | NEW |