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

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

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch 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 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 <memory> 10 #include <memory>
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/supports_user_data.h" 15 #include "base/supports_user_data.h"
16 #include "components/offline_pages/offline_event_logger.h" 16 #include "components/offline_pages/offline_event_logger.h"
17 #include "components/offline_pages/offline_page_archiver.h" 17 #include "components/offline_pages/offline_page_archiver.h"
18 #include "components/offline_pages/offline_page_model_query.h" 18 #include "components/offline_pages/offline_page_model_query.h"
19 #include "components/offline_pages/offline_page_storage_manager.h" 19 #include "components/offline_pages/offline_page_storage_manager.h"
20 #include "components/offline_pages/offline_page_types.h" 20 #include "components/offline_pages/offline_page_types.h"
21 21
22 class GURL; 22 class GURL;
23 namespace base { 23 namespace base {
24 class Time; 24 class Time;
25 } // namespace base 25 } // namespace base
26 26
27 namespace offline_pages { 27 namespace offline_pages {
28 28
29 struct ClientId; 29 struct ClientId;
30 struct OfflinePageItem;
31 30
32 // Service for saving pages offline, storing the offline copy and metadata, and 31 // Service for saving pages offline, storing the offline copy and metadata, and
33 // retrieving them upon request. 32 // retrieving them upon request.
34 // 33 //
35 // Example usage: 34 // Example usage:
36 // class ArchiverImpl : public OfflinePageArchiver { 35 // class ArchiverImpl : public OfflinePageArchiver {
37 // // This is a class that knows how to create archiver 36 // // This is a class that knows how to create archiver
38 // void CreateArchiver(...) override; 37 // void CreateArchiver(...) override;
39 // ... 38 // ...
40 // } 39 // }
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // TODO(dougarnett): Remove this and its uses. 187 // TODO(dougarnett): Remove this and its uses.
189 virtual bool is_loaded() const = 0; 188 virtual bool is_loaded() const = 0;
190 189
191 // Returns the logger. Ownership is retained by the model. 190 // Returns the logger. Ownership is retained by the model.
192 virtual OfflineEventLogger* GetLogger() = 0; 191 virtual OfflineEventLogger* GetLogger() = 0;
193 }; 192 };
194 193
195 } // namespace offline_pages 194 } // namespace offline_pages
196 195
197 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_H_ 196 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_H_
OLDNEW
« no previous file with comments | « components/offline_pages/offline_page_metadata_store.h ('k') | components/offline_pages/offline_page_model_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698