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

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

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 #include "components/offline_pages/offline_page_model_event_logger.h"
6
7 namespace offline_pages {
8
9 void OfflinePageModelEventLogger::RecordPageSaved(const std::string& name_space,
10 const std::string& url,
11 const std::string& id) {
12 RecordActivity(url + " is saved at " + name_space + " with id " + id);
13 }
14
15 void OfflinePageModelEventLogger::RecordPageDeleted(const std::string& id) {
16 RecordActivity("Page with ID " + id + " has been deleted");
17 }
18
19 void OfflinePageModelEventLogger::RecordPageExpired(const std::string& id) {
20 RecordActivity("Page with ID " + id + " has been expired");
21 }
22
23 void OfflinePageModelEventLogger::RecordStoreClearError() {
24 RecordActivity("Offline store clear failed");
25 }
26
27 void OfflinePageModelEventLogger::RecordStoreCleared() {
28 RecordActivity("Offline store cleared");
29 }
30
31 void OfflinePageModelEventLogger::RecordStoreReloadError() {
32 RecordActivity("There was an error reloading the offline store");
33 }
34 } // namespace offline_pages
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698