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

Side by Side Diff: chrome/browser/printing/cloud_print/gcd_api_flow.cc

Issue 1553333002: Move cloud print specific files out of local_discovery (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moveprn
Patch Set: Created 4 years, 11 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/browser/local_discovery/gcd_api_flow.h" 5 #include "chrome/browser/printing/cloud_print/gcd_api_flow.h"
6 6
7 #include "chrome/browser/local_discovery/gcd_api_flow_impl.h" 7 #include "chrome/browser/printing/cloud_print/gcd_api_flow_impl.h"
8 #include "chrome/browser/local_discovery/gcd_constants.h" 8 #include "chrome/browser/printing/cloud_print/gcd_constants.h"
9 #include "chrome/common/cloud_print/cloud_print_constants.h" 9 #include "chrome/common/cloud_print/cloud_print_constants.h"
10 #include "components/cloud_devices/common/cloud_devices_urls.h" 10 #include "components/cloud_devices/common/cloud_devices_urls.h"
11 11
12 namespace local_discovery { 12 namespace cloud_print {
13 13
14 GCDApiFlow::Request::Request() { 14 GCDApiFlow::Request::Request() {
15 } 15 }
16 16
17 GCDApiFlow::Request::~Request() { 17 GCDApiFlow::Request::~Request() {
18 } 18 }
19 19
20 net::URLFetcher::RequestType GCDApiFlow::Request::GetRequestType() { 20 net::URLFetcher::RequestType GCDApiFlow::Request::GetRequestType() {
21 return net::URLFetcher::GET; 21 return net::URLFetcher::GET;
22 } 22 }
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 } 62 }
63 63
64 std::string CloudPrintApiFlowRequest::GetOAuthScope() { 64 std::string CloudPrintApiFlowRequest::GetOAuthScope() {
65 return cloud_devices::kCloudPrintAuthScope; 65 return cloud_devices::kCloudPrintAuthScope;
66 } 66 }
67 67
68 std::vector<std::string> CloudPrintApiFlowRequest::GetExtraRequestHeaders() { 68 std::vector<std::string> CloudPrintApiFlowRequest::GetExtraRequestHeaders() {
69 return std::vector<std::string>(1, cloud_print::kChromeCloudPrintProxyHeader); 69 return std::vector<std::string>(1, cloud_print::kChromeCloudPrintProxyHeader);
70 } 70 }
71 71
72 } // namespace local_discovery 72 } // namespace cloud_print
OLDNEW
« no previous file with comments | « chrome/browser/printing/cloud_print/gcd_api_flow.h ('k') | chrome/browser/printing/cloud_print/gcd_api_flow_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698