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

Unified 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: more rebase Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: components/offline_pages/offline_page_model_event_logger.cc
diff --git a/components/offline_pages/offline_page_model_event_logger.cc b/components/offline_pages/offline_page_model_event_logger.cc
deleted file mode 100644
index 0ca9d95d1102d8e71dbf507eed8c72d256b951dd..0000000000000000000000000000000000000000
--- a/components/offline_pages/offline_page_model_event_logger.cc
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/offline_pages/offline_page_model_event_logger.h"
-
-namespace offline_pages {
-
-void OfflinePageModelEventLogger::RecordPageSaved(const std::string& name_space,
- const std::string& url,
- const std::string& id) {
- RecordActivity(url + " is saved at " + name_space + " with id " + id);
-}
-
-void OfflinePageModelEventLogger::RecordPageDeleted(const std::string& id) {
- RecordActivity("Page with ID " + id + " has been deleted");
-}
-
-void OfflinePageModelEventLogger::RecordPageExpired(const std::string& id) {
- RecordActivity("Page with ID " + id + " has been expired");
-}
-
-void OfflinePageModelEventLogger::RecordStoreClearError() {
- RecordActivity("Offline store clear failed");
-}
-
-void OfflinePageModelEventLogger::RecordStoreCleared() {
- RecordActivity("Offline store cleared");
-}
-
-void OfflinePageModelEventLogger::RecordStoreReloadError() {
- RecordActivity("There was an error reloading the offline store");
-}
-} // namespace offline_pages

Powered by Google App Engine
This is Rietveld 408576698