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

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

Issue 2742763002: Clean up Cloud Print API flow code. (Closed)
Patch Set: Created 3 years, 9 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/gcd_api_flow_impl.h
diff --git a/chrome/browser/printing/cloud_print/gcd_api_flow_impl.h b/chrome/browser/printing/cloud_print/gcd_api_flow_impl.h
index 34d55ada5da2d4c9a453f2cbb29a1753a1ed7913..a65d4605fbc19436ca86e3d836ad0bbc12272eaa 100644
--- a/chrome/browser/printing/cloud_print/gcd_api_flow_impl.h
+++ b/chrome/browser/printing/cloud_print/gcd_api_flow_impl.h
@@ -14,10 +14,6 @@
namespace cloud_print {
-namespace {
-const char kCloudPrintOAuthHeaderFormat[] = "Authorization: Bearer %s";
-}
-
class GCDApiFlowImpl : public GCDApiFlow,
public net::URLFetcherDelegate,
public OAuth2TokenService::Consumer {
@@ -26,9 +22,9 @@ class GCDApiFlowImpl : public GCDApiFlow,
GCDApiFlowImpl(net::URLRequestContextGetter* request_context,
OAuth2TokenService* token_service,
const std::string& account_id);
-
~GCDApiFlowImpl() override;
+ // GCDApiFlow implementation:
void Start(std::unique_ptr<Request> request) override;
// net::URLFetcherDelegate implementation:
« no previous file with comments | « chrome/browser/printing/cloud_print/gcd_api_flow.cc ('k') | chrome/browser/printing/cloud_print/gcd_api_flow_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698