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

Unified Diff: chrome/browser/printing/cloud_print/privet_confirm_api_flow.h

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 side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « chrome/browser/printing/cloud_print/gcd_constants.cc ('k') | chrome/browser/printing/cloud_print/privet_confirm_api_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698