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

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

Issue 2089413002: [Offline Pages] Create a event/activity logger (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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
(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 the offline store has been cleared.
24 void RecordStoreCleared();
25
26 // Records that there was an error when clearing the offline store.
27 void RecordStoreClearError();
28
29 // Records that there was an error when reloading the offline store.
30 void RecordStoreReloadError();
31 };
32
33 } // namespace offline_pages
34
35 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_EVENT_LOGGER_H_
OLDNEW
« no previous file with comments | « components/offline_pages/offline_page_model.h ('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