| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/printing/cloud_print/privet_confirm_api_flow.h" | 5 #include "chrome/browser/printing/cloud_print/privet_confirm_api_flow.h" |
| 6 | 6 |
| 7 #include "base/strings/stringprintf.h" | |
| 8 #include "base/values.h" | 7 #include "base/values.h" |
| 9 #include "chrome/browser/printing/cloud_print/gcd_api_flow.h" | 8 #include "chrome/browser/printing/cloud_print/gcd_api_flow.h" |
| 10 #include "chrome/browser/printing/cloud_print/gcd_constants.h" | 9 #include "chrome/browser/printing/cloud_print/gcd_constants.h" |
| 11 #include "chrome/browser/printing/cloud_print/privet_constants.h" | 10 #include "chrome/browser/printing/cloud_print/privet_constants.h" |
| 12 #include "chrome/common/cloud_print/cloud_print_constants.h" | 11 #include "chrome/common/cloud_print/cloud_print_constants.h" |
| 13 #include "components/cloud_devices/common/cloud_devices_urls.h" | 12 #include "components/cloud_devices/common/cloud_devices_urls.h" |
| 14 #include "net/base/url_util.h" | 13 #include "net/base/url_util.h" |
| 15 | 14 |
| 16 namespace cloud_print { | 15 namespace cloud_print { |
| 17 | 16 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 54 |
| 56 net::URLFetcher::RequestType PrivetConfirmApiCallFlow::GetRequestType() { | 55 net::URLFetcher::RequestType PrivetConfirmApiCallFlow::GetRequestType() { |
| 57 return net::URLFetcher::GET; | 56 return net::URLFetcher::GET; |
| 58 } | 57 } |
| 59 | 58 |
| 60 GURL PrivetConfirmApiCallFlow::GetURL() { | 59 GURL PrivetConfirmApiCallFlow::GetURL() { |
| 61 return GetConfirmFlowUrl(token_); | 60 return GetConfirmFlowUrl(token_); |
| 62 } | 61 } |
| 63 | 62 |
| 64 } // namespace cloud_print | 63 } // namespace cloud_print |
| OLD | NEW |