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

Unified Diff: chrome/browser/local_discovery/cloud_print_account_manager.h

Issue 163943005: Remove CloudPrintAccountManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « no previous file | chrome/browser/local_discovery/cloud_print_account_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/local_discovery/cloud_print_account_manager.h
diff --git a/chrome/browser/local_discovery/cloud_print_account_manager.h b/chrome/browser/local_discovery/cloud_print_account_manager.h
deleted file mode 100644
index 39c54487b65ac422c81c109ecb313be42a3e0a6a..0000000000000000000000000000000000000000
--- a/chrome/browser/local_discovery/cloud_print_account_manager.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2013 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.
-
-#ifndef CHROME_BROWSER_LOCAL_DISCOVERY_CLOUD_PRINT_ACCOUNT_MANAGER_H_
-#define CHROME_BROWSER_LOCAL_DISCOVERY_CLOUD_PRINT_ACCOUNT_MANAGER_H_
-
-#include <string>
-#include <vector>
-
-#include "base/callback.h"
-#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/local_discovery/cloud_print_base_api_flow.h"
-
-namespace local_discovery {
-
-class CloudPrintAccountManager : public CloudPrintBaseApiFlow::Delegate {
- public:
- typedef base::Callback<void(
- const std::vector<std::string>& /*accounts*/,
- const std::string& /*xsrf_token*/)> AccountsCallback;
-
- CloudPrintAccountManager(net::URLRequestContextGetter* request_context,
- const std::string& cloud_print_url,
- int token_user_index,
- const AccountsCallback& callback);
- virtual ~CloudPrintAccountManager();
-
- void Start();
-
- // BaseCloudPrintApiFlow::Delegate implementation.
- virtual void OnCloudPrintAPIFlowError(
- CloudPrintBaseApiFlow* flow,
- CloudPrintBaseApiFlow::Status status) OVERRIDE;
-
- virtual void OnCloudPrintAPIFlowComplete(
- CloudPrintBaseApiFlow* flow,
- const base::DictionaryValue* value) OVERRIDE;
-
- private:
- void ReportEmptyUserList();
-
- CloudPrintBaseApiFlow flow_;
- AccountsCallback callback_;
-};
-
-} // namespace local_discovery
-
-#endif // CHROME_BROWSER_LOCAL_DISCOVERY_CLOUD_PRINT_ACCOUNT_MANAGER_H_
« no previous file with comments | « no previous file | chrome/browser/local_discovery/cloud_print_account_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698