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

Side by Side Diff: components/offline_pages/core/offline_page_storage_manager.h

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: rebase Created 4 years 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_STORAGE_MANAGER_H_ 5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_STORAGE_MANAGER_H_
6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_STORAGE_MANAGER_H_ 6 #define COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_STORAGE_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/time/time.h" 15 #include "base/time/time.h"
16 #include "components/offline_pages/archive_manager.h" 16 #include "components/offline_pages/core/archive_manager.h"
17 #include "components/offline_pages/offline_page_types.h" 17 #include "components/offline_pages/core/offline_page_types.h"
18 18
19 namespace base { 19 namespace base {
20 class Clock; 20 class Clock;
21 } // namespace base 21 } // namespace base
22 22
23 namespace offline_pages { 23 namespace offline_pages {
24 24
25 // Maximum % of total available storage that will be occupied by offline pages 25 // Maximum % of total available storage that will be occupied by offline pages
26 // before a storage clearup. 26 // before a storage clearup.
27 struct constants { 27 struct constants {
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // Clock for getting time. 146 // Clock for getting time.
147 std::unique_ptr<base::Clock> clock_; 147 std::unique_ptr<base::Clock> clock_;
148 148
149 base::WeakPtrFactory<OfflinePageStorageManager> weak_ptr_factory_; 149 base::WeakPtrFactory<OfflinePageStorageManager> weak_ptr_factory_;
150 150
151 DISALLOW_COPY_AND_ASSIGN(OfflinePageStorageManager); 151 DISALLOW_COPY_AND_ASSIGN(OfflinePageStorageManager);
152 }; 152 };
153 153
154 } // namespace offline_pages 154 } // namespace offline_pages
155 155
156 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_STORAGE_MANAGER_H_ 156 #endif // COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_STORAGE_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698