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

Side by Side Diff: components/offline_pages/offline_page_model_impl.h

Issue 2420543004: Improve the page download: (Closed)
Patch Set: Created 4 years, 2 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 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_MODEL_IMPL_H_ 5 #ifndef COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_IMPL_H_
6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_IMPL_H_ 6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 26 matching lines...) Expand all
37 class GURL; 37 class GURL;
38 namespace base { 38 namespace base {
39 class Clock; 39 class Clock;
40 class SequencedTaskRunner; 40 class SequencedTaskRunner;
41 class TimeDelta; 41 class TimeDelta;
42 class TimeTicks; 42 class TimeTicks;
43 } // namespace base 43 } // namespace base
44 44
45 namespace offline_pages { 45 namespace offline_pages {
46 46
47 static const int64_t kInvalidOfflineId = 0;
48
49 struct ClientId; 47 struct ClientId;
50 struct OfflinePageItem; 48 struct OfflinePageItem;
51 49
52 class ArchiveManager; 50 class ArchiveManager;
53 class ClientPolicyController; 51 class ClientPolicyController;
54 class OfflinePageStorageManager; 52 class OfflinePageStorageManager;
55 53
56 // Implementation of service for saving pages offline, storing the offline 54 // Implementation of service for saving pages offline, storing the offline
57 // copy and metadata, and retrieving them upon request. 55 // copy and metadata, and retrieving them upon request.
58 class OfflinePageModelImpl : public OfflinePageModel, public KeyedService { 56 class OfflinePageModelImpl : public OfflinePageModel, public KeyedService {
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 base::Clock* testing_clock_; 282 base::Clock* testing_clock_;
285 283
286 base::WeakPtrFactory<OfflinePageModelImpl> weak_ptr_factory_; 284 base::WeakPtrFactory<OfflinePageModelImpl> weak_ptr_factory_;
287 285
288 DISALLOW_COPY_AND_ASSIGN(OfflinePageModelImpl); 286 DISALLOW_COPY_AND_ASSIGN(OfflinePageModelImpl);
289 }; 287 };
290 288
291 } // namespace offline_pages 289 } // namespace offline_pages
292 290
293 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_IMPL_H_ 291 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_IMPL_H_
OLDNEW
« no previous file with comments | « components/offline_pages/offline_page_model.h ('k') | components/offline_pages/offline_page_model_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698