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

Side by Side Diff: chrome/service/cloud_print/cloud_print_service_helpers.cc

Issue 55143012: Renamed chrome/service/cloud_print/cloud_print_helpers* -> cloud_print_service_helpers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/service/cloud_print/cloud_print_helpers.h" 5 #include "chrome/service/cloud_print/cloud_print_service_helpers.h"
6 6
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "chrome/common/cloud_print/cloud_print_constants.h" 8 #include "chrome/common/cloud_print/cloud_print_constants.h"
9 #include "chrome/common/cloud_print/cloud_print_helpers.h" 9 #include "chrome/common/cloud_print/cloud_print_helpers.h"
10 #include "chrome/service/cloud_print/cloud_print_token_store.h" 10 #include "chrome/service/cloud_print/cloud_print_token_store.h"
11 #include "chrome/service/service_process.h" 11 #include "chrome/service/service_process.h"
12 12
13 namespace { 13 namespace {
14 14
15 std::string StringFromJobStatus(cloud_print::PrintJobStatus status) { 15 std::string StringFromJobStatus(cloud_print::PrintJobStatus status) {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 if (!token_store || token_store->token().empty()) { 91 if (!token_store || token_store->token().empty()) {
92 // Using LOG here for critical errors. GCP connector may run in the headless 92 // Using LOG here for critical errors. GCP connector may run in the headless
93 // mode and error indication might be useful for user in that case. 93 // mode and error indication might be useful for user in that case.
94 LOG(ERROR) << "CP_PROXY: Missing OAuth token for request"; 94 LOG(ERROR) << "CP_PROXY: Missing OAuth token for request";
95 return std::string(); 95 return std::string();
96 } 96 }
97 return GetCloudPrintAuthHeader(token_store->token()); 97 return GetCloudPrintAuthHeader(token_store->token());
98 } 98 }
99 99
100 } // namespace cloud_print 100 } // namespace cloud_print
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698