Simplified API of GCDBaseApiFlow::Delegate
commit257ff6a9b5bf73d1c71fda7b26afdc088d701375
authorvitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 28 May 2014 20:33:10 +0000 (28 20:33 +0000)
committervitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 28 May 2014 20:33:10 +0000 (28 20:33 +0000)
tree748c3be2986d864ded576341b1c980fb75ec2cf2
parent308a6caef27f09b443db7628aa2ba16c781d9b37
Simplified API of GCDBaseApiFlow::Delegate
1. Delegate renamed to Request
2. Removed logic related to GCDBaseApiFlow construction, so now GCDBaseApiFlow::Request implementation could be simpler and be covered with trivial unit tests.
3. Changed ownership of GCDBaseApiFlow, now GCDBaseApiFlow owns Request.

BUG=372843

Review URL: https://codereview.chromium.org/302543002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273346 0039d316-1c4b-4281-b951-d872f2087c98
17 files changed:
chrome/browser/local_discovery/cloud_device_list.cc
chrome/browser/local_discovery/cloud_device_list.h
chrome/browser/local_discovery/cloud_device_list_delegate.h
chrome/browser/local_discovery/cloud_device_list_unittest.cc
chrome/browser/local_discovery/cloud_print_printer_list.cc
chrome/browser/local_discovery/cloud_print_printer_list.h
chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc
chrome/browser/local_discovery/gcd_api_flow.cc [moved from chrome/browser/local_discovery/gcd_base_api_flow.cc with 57% similarity]
chrome/browser/local_discovery/gcd_api_flow.h [moved from chrome/browser/local_discovery/gcd_base_api_flow.h with 56% similarity]
chrome/browser/local_discovery/gcd_api_flow_unittest.cc [new file with mode: 0644]
chrome/browser/local_discovery/privet_confirm_api_flow.cc
chrome/browser/local_discovery/privet_confirm_api_flow.h
chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc
chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h
chrome/chrome_browser.gypi
chrome/chrome_tests_unit.gypi