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

Unified Diff: chrome/browser/local_discovery/gcd_api_flow.cc

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
« no previous file with comments | « chrome/browser/local_discovery/gcd_api_flow.h ('k') | chrome/browser/local_discovery/gcd_api_flow_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/local_discovery/gcd_api_flow.cc
diff --git a/chrome/browser/local_discovery/gcd_api_flow.cc b/chrome/browser/local_discovery/gcd_api_flow.cc
deleted file mode 100644
index ce1d0c93e5e46a1d8affc960a831ee756a31abaf..0000000000000000000000000000000000000000
--- a/chrome/browser/local_discovery/gcd_api_flow.cc
+++ /dev/null
@@ -1,72 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/local_discovery/gcd_api_flow.h"
-
-#include "chrome/browser/local_discovery/gcd_api_flow_impl.h"
-#include "chrome/browser/local_discovery/gcd_constants.h"
-#include "chrome/common/cloud_print/cloud_print_constants.h"
-#include "components/cloud_devices/common/cloud_devices_urls.h"
-
-namespace local_discovery {
-
-GCDApiFlow::Request::Request() {
-}
-
-GCDApiFlow::Request::~Request() {
-}
-
-net::URLFetcher::RequestType GCDApiFlow::Request::GetRequestType() {
- return net::URLFetcher::GET;
-}
-
-void GCDApiFlow::Request::GetUploadData(std::string* upload_type,
- std::string* upload_data) {
- *upload_type = std::string();
- *upload_data = std::string();
-}
-
-scoped_ptr<GCDApiFlow> GCDApiFlow::Create(
- net::URLRequestContextGetter* request_context,
- OAuth2TokenService* token_service,
- const std::string& account_id) {
- return scoped_ptr<GCDApiFlow>(
- new GCDApiFlowImpl(request_context, token_service, account_id));
-}
-
-GCDApiFlow::GCDApiFlow() {
-}
-
-GCDApiFlow::~GCDApiFlow() {
-}
-
-GCDApiFlowRequest::GCDApiFlowRequest() {
-}
-
-GCDApiFlowRequest::~GCDApiFlowRequest() {
-}
-
-std::string GCDApiFlowRequest::GetOAuthScope() {
- return cloud_devices::kCloudDevicesAuthScope;
-}
-
-std::vector<std::string> GCDApiFlowRequest::GetExtraRequestHeaders() {
- return std::vector<std::string>();
-}
-
-CloudPrintApiFlowRequest::CloudPrintApiFlowRequest() {
-}
-
-CloudPrintApiFlowRequest::~CloudPrintApiFlowRequest() {
-}
-
-std::string CloudPrintApiFlowRequest::GetOAuthScope() {
- return cloud_devices::kCloudPrintAuthScope;
-}
-
-std::vector<std::string> CloudPrintApiFlowRequest::GetExtraRequestHeaders() {
- return std::vector<std::string>(1, cloud_print::kChromeCloudPrintProxyHeader);
-}
-
-} // namespace local_discovery
« no previous file with comments | « chrome/browser/local_discovery/gcd_api_flow.h ('k') | chrome/browser/local_discovery/gcd_api_flow_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698