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

Unified Diff: chrome/browser/local_discovery/cloud_print_printer_list.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
« no previous file with comments | « no previous file | chrome/browser/local_discovery/cloud_print_printer_list.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_printer_list.h
diff --git a/chrome/browser/local_discovery/cloud_print_printer_list.h b/chrome/browser/local_discovery/cloud_print_printer_list.h
deleted file mode 100644
index d0fbc9a317d60e7220f2a8c0a104a08cf64b00c4..0000000000000000000000000000000000000000
--- a/chrome/browser/local_discovery/cloud_print_printer_list.h
+++ /dev/null
@@ -1,55 +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_PRINTER_LIST_H_
-#define CHROME_BROWSER_LOCAL_DISCOVERY_CLOUD_PRINT_PRINTER_LIST_H_
-
-#include <string>
-#include <vector>
-
-#include "base/values.h"
-#include "chrome/browser/local_discovery/gcd_api_flow.h"
-
-namespace local_discovery {
-
-class CloudPrintPrinterList : public CloudPrintApiFlowRequest {
- public:
- struct Device {
- Device();
- ~Device();
-
- std::string id;
- std::string display_name;
- std::string description;
- };
- typedef std::vector<Device> DeviceList;
-
- class Delegate {
- public:
- Delegate();
- virtual ~Delegate();
-
- virtual void OnDeviceListReady(const DeviceList& devices) = 0;
- virtual void OnDeviceListUnavailable() = 0;
- };
-
- explicit CloudPrintPrinterList(Delegate* delegate);
- ~CloudPrintPrinterList() override;
-
- void OnGCDAPIFlowError(GCDApiFlow::Status status) override;
-
- void OnGCDAPIFlowComplete(const base::DictionaryValue& value) override;
-
- GURL GetURL() override;
-
- private:
- bool FillPrinterDetails(const base::DictionaryValue& printer_value,
- Device* printer_details);
-
- Delegate* delegate_;
-};
-
-} // namespace local_discovery
-
-#endif // CHROME_BROWSER_LOCAL_DISCOVERY_CLOUD_PRINT_PRINTER_LIST_H_
« no previous file with comments | « no previous file | chrome/browser/local_discovery/cloud_print_printer_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698