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

Side by Side Diff: components/offline_pages/core/background/request_coordinator_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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 #include "components/offline_pages/background/request_coordinator_event_logger.h " 5 #include "components/offline_pages/core/background/request_coordinator_event_log ger.h"
6 6
7 namespace offline_pages { 7 namespace offline_pages {
8 8
9 namespace { 9 namespace {
10 10
11 static std::string OfflinerRequestStatusToString( 11 static std::string OfflinerRequestStatusToString(
12 Offliner::RequestStatus request_status) { 12 Offliner::RequestStatus request_status) {
13 switch (request_status) { 13 switch (request_status) {
14 case Offliner::UNKNOWN: 14 case Offliner::UNKNOWN:
15 return "UNKNOWN"; 15 return "UNKNOWN";
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 } 103 }
104 104
105 void RequestCoordinatorEventLogger::RecordUpdateRequestFailed( 105 void RequestCoordinatorEventLogger::RecordUpdateRequestFailed(
106 const std::string& name_space, 106 const std::string& name_space,
107 UpdateRequestResult result) { 107 UpdateRequestResult result) {
108 RecordActivity("Updating queued request for " + name_space + " failed - " + 108 RecordActivity("Updating queued request for " + name_space + " failed - " +
109 UpdateRequestResultToString(result)); 109 UpdateRequestResultToString(result));
110 } 110 }
111 111
112 } // namespace offline_pages 112 } // namespace offline_pages
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698