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

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

Issue 298883012: Added GetURL, GetOAuthScope, GetExtraRequestHeaders into GCDBaseApiFlow::Delegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/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
index 09890447d247121665169275d77a001a1c12cd38..1fe1b8ed1f2d9a06444a80539e4f807f8ca2f838 100644
--- a/chrome/browser/local_discovery/cloud_print_printer_list.h
+++ b/chrome/browser/local_discovery/cloud_print_printer_list.h
@@ -13,7 +13,7 @@
namespace local_discovery {
-class CloudPrintPrinterList : public GCDBaseApiFlow::Delegate {
+class CloudPrintPrinterList : public CloudPrintApiFlowDelegate {
public:
typedef std::vector<CloudDeviceListDelegate::Device> PrinterList;
typedef PrinterList::const_iterator iterator;
@@ -33,7 +33,7 @@ class CloudPrintPrinterList : public GCDBaseApiFlow::Delegate {
GCDBaseApiFlow* flow,
const base::DictionaryValue* value) OVERRIDE;
- virtual bool GCDIsCloudPrint() OVERRIDE;
+ virtual GURL GetURL() OVERRIDE;
GCDBaseApiFlow* GetOAuth2ApiFlowForTests() { return &api_flow_; }
@@ -45,7 +45,6 @@ class CloudPrintPrinterList : public GCDBaseApiFlow::Delegate {
bool FillPrinterDetails(const base::DictionaryValue* printer_value,
CloudDeviceListDelegate::Device* printer_details);
- scoped_refptr<net::URLRequestContextGetter> request_context_;
PrinterList printer_list_;
CloudDeviceListDelegate* delegate_;
GCDBaseApiFlow api_flow_;
« no previous file with comments | « chrome/browser/local_discovery/cloud_device_list.cc ('k') | chrome/browser/local_discovery/cloud_print_printer_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698