| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |