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

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

Issue 1904613005: [Offline pages] Removing bookmarks dependency from offline pages component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit tests compilation Created 4 years, 8 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_H_ 5 #ifndef COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_H_
6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_H_ 6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 15 matching lines...) Expand all
26 26
27 class GURL; 27 class GURL;
28 namespace base { 28 namespace base {
29 class SequencedTaskRunner; 29 class SequencedTaskRunner;
30 class Time; 30 class Time;
31 class TimeDelta; 31 class TimeDelta;
32 } 32 }
33 33
34 namespace offline_pages { 34 namespace offline_pages {
35 35
36 static const char* const BOOKMARK_NAMESPACE = "bookmark"; 36 static const char* const kBookmarkNamespace = "bookmark";
37 static const int64_t INVALID_OFFLINE_ID = 0; 37 static const int64_t kInvalidOfflineId = 0;
38 38
39 struct ClientId; 39 struct ClientId;
40 40
41 struct OfflinePageItem; 41 struct OfflinePageItem;
42 class OfflinePageMetadataStore; 42 class OfflinePageMetadataStore;
43 43
44 // Service for saving pages offline, storing the offline copy and metadata, and 44 // Service for saving pages offline, storing the offline copy and metadata, and
45 // retrieving them upon request. 45 // retrieving them upon request.
46 // 46 //
47 // Example usage: 47 // Example usage:
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 std::vector<base::Closure> delayed_tasks_; 363 std::vector<base::Closure> delayed_tasks_;
364 364
365 base::WeakPtrFactory<OfflinePageModel> weak_ptr_factory_; 365 base::WeakPtrFactory<OfflinePageModel> weak_ptr_factory_;
366 366
367 DISALLOW_COPY_AND_ASSIGN(OfflinePageModel); 367 DISALLOW_COPY_AND_ASSIGN(OfflinePageModel);
368 }; 368 };
369 369
370 } // namespace offline_pages 370 } // namespace offline_pages
371 371
372 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_H_ 372 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_H_
OLDNEW
« no previous file with comments | « components/offline_pages/offline_page_metadata_store_impl_unittest.cc ('k') | components/offline_pages/offline_page_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698