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

Side by Side Diff: components/offline_pages/offline_page_model_event_logger.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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_EVENT_LOGGER_H_
6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_EVENT_LOGGER_H_
7
8 #include "components/offline_pages/offline_event_logger.h"
9
10 namespace offline_pages {
11
12 class OfflinePageModelEventLogger : public OfflineEventLogger {
13 public:
14 // Records that a page has been saved for |name_space| with |url|
15 // and |offline_id|.
16 void RecordPageSaved(const std::string& name_space,
17 const std::string& url,
18 const std::string& offline_id);
19
20 // Records that a page with |offline_id| has been deleted.
21 void RecordPageDeleted(const std::string& offline_id);
22
23 // Records that a page with |offline_id| has been expired.
24 void RecordPageExpired(const std::string& offline_id);
25
26 // Records that the offline store has been cleared.
27 void RecordStoreCleared();
28
29 // Records that there was an error when clearing the offline store.
30 void RecordStoreClearError();
31
32 // Records that there was an error when reloading the offline store.
33 void RecordStoreReloadError();
34 };
35
36 } // namespace offline_pages
37
38 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_EVENT_LOGGER_H_
OLDNEW
« no previous file with comments | « components/offline_pages/offline_page_model.cc ('k') | components/offline_pages/offline_page_model_event_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698