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

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

Issue 323563006: Updated PrivetV3SetupFlow API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fri 06/06/2014 16:20:01.01 Created 6 years, 6 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/privetv3_setup_flow.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/local_discovery/privetv3_setup_flow.cc
diff --git a/chrome/browser/local_discovery/privetv3_setup_flow.cc b/chrome/browser/local_discovery/privetv3_setup_flow.cc
index 879dc284119272d2bc0cc1b05a58cec811eff844..5cafa932612b07d07d44d4c9e47352081b571a09 100644
--- a/chrome/browser/local_discovery/privetv3_setup_flow.cc
+++ b/chrome/browser/local_discovery/privetv3_setup_flow.cc
@@ -8,24 +8,24 @@
namespace local_discovery {
-scoped_ptr<PrivetV3SetupFlow> PrivetV3SetupFlow::CreateMDnsOnlyFlow(
- ServiceDiscoveryClient* service_discovery_client,
- const std::string& service_name) {
+PrivetV3SetupFlow::Delegate::~Delegate() {
+}
+
+PrivetV3SetupFlow::PrivetV3SetupFlow(Delegate* delegate)
+ : delegate_(delegate), weak_ptr_factory_(this) {
+}
+
+PrivetV3SetupFlow::~PrivetV3SetupFlow() {
+}
+
+void PrivetV3SetupFlow::Register(const std::string& service_name) {
NOTIMPLEMENTED();
- return scoped_ptr<PrivetV3SetupFlow>();
}
#if defined(ENABLE_WIFI_BOOTSTRAPPING)
-scoped_ptr<PrivetV3SetupFlow> PrivetV3SetupFlow::CreateWifiFlow(
- ServiceDiscoveryClient* service_discovery_client,
- wifi::WifiManager* wifi_manager,
- // The SSID of the network whose credentials we will be provisioning.
- const std::string& credentials_ssid,
- // The SSID of the device we will be provisioning.
- const std::string& device_ssid) {
+void PrivetV3SetupFlow::SetupWifiAndRegister(const std::string& device_ssid) {
NOTIMPLEMENTED();
- return scoped_ptr<PrivetV3SetupFlow>();
}
-#endif
+#endif // ENABLE_WIFI_BOOTSTRAPPING
} // namespace local_discovery
« no previous file with comments | « chrome/browser/local_discovery/privetv3_setup_flow.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698