| Index: chrome/browser/printing/cloud_print/privet_confirm_api_flow.h
|
| diff --git a/chrome/browser/local_discovery/privet_confirm_api_flow.h b/chrome/browser/printing/cloud_print/privet_confirm_api_flow.h
|
| similarity index 65%
|
| rename from chrome/browser/local_discovery/privet_confirm_api_flow.h
|
| rename to chrome/browser/printing/cloud_print/privet_confirm_api_flow.h
|
| index 51072479410a2c1d5ca91505d061ef942804985f..dc52e4527038210275bb8dccff9856648d680c19 100644
|
| --- a/chrome/browser/local_discovery/privet_confirm_api_flow.h
|
| +++ b/chrome/browser/printing/cloud_print/privet_confirm_api_flow.h
|
| @@ -2,16 +2,16 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONFIRM_API_FLOW_H_
|
| -#define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONFIRM_API_FLOW_H_
|
| +#ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_CONFIRM_API_FLOW_H_
|
| +#define CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_CONFIRM_API_FLOW_H_
|
|
|
| #include <string>
|
|
|
| #include "base/values.h"
|
| -#include "chrome/browser/local_discovery/gcd_api_flow.h"
|
| +#include "chrome/browser/printing/cloud_print/gcd_api_flow.h"
|
| #include "net/url_request/url_request_context_getter.h"
|
|
|
| -namespace local_discovery {
|
| +namespace cloud_print {
|
|
|
| // API call flow for server-side communication with CloudPrint for registration.
|
| class PrivetConfirmApiCallFlow : public CloudPrintApiFlowRequest {
|
| @@ -24,8 +24,8 @@ class PrivetConfirmApiCallFlow : public CloudPrintApiFlowRequest {
|
|
|
| ~PrivetConfirmApiCallFlow() override;
|
|
|
| - void OnGCDAPIFlowError(GCDApiFlow::Status status) override;
|
| - void OnGCDAPIFlowComplete(const base::DictionaryValue& value) override;
|
| + void OnGCDApiFlowError(GCDApiFlow::Status status) override;
|
| + void OnGCDApiFlowComplete(const base::DictionaryValue& value) override;
|
| net::URLFetcher::RequestType GetRequestType() override;
|
|
|
| GURL GetURL() override;
|
| @@ -35,6 +35,6 @@ class PrivetConfirmApiCallFlow : public CloudPrintApiFlowRequest {
|
| std::string token_;
|
| };
|
|
|
| -} // namespace local_discovery
|
| +} // namespace cloud_print
|
|
|
| -#endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONFIRM_API_FLOW_H_
|
| +#endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_CONFIRM_API_FLOW_H_
|
|
|