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

Side by Side Diff: chrome/browser/local_discovery/privetv2_setup_operation.h

Issue 305533007: Rename PrivetV2 to PrivetV3 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVETV2_SETUP_OPERATION_H_
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVETV2_SETUP_OPERATION_H_
7
8 #include <string>
9
10 #include "base/callback.h"
11 #include "base/memory/scoped_ptr.h"
12
13 namespace local_discovery {
14
15 class PrivetV2Session;
16
17 class PrivetV2SetupOperation {
18 public:
19 enum Status { STATUS_SUCCESS, STATUS_SETUP_ERROR, STATUS_SESSION_ERROR };
20
21 virtual ~PrivetV2SetupOperation() {}
22
23 typedef base::Callback<void(Status status)> SetupStatusCallback;
24
25 static scoped_ptr<PrivetV2SetupOperation> Create(
26 PrivetV2Session* session,
27 const SetupStatusCallback& callback,
28 const std::string& ticket_id);
29
30 virtual void AddWifiCredentials(const std::string& ssid,
31 const std::string& passwd) = 0;
32 virtual void Start() = 0;
33 };
34
35 } // namespace local_discovery
36
37 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVETV2_SETUP_OPERATION_H_
OLDNEW
« no previous file with comments | « chrome/browser/local_discovery/privetv2_setup_flow.cc ('k') | chrome/browser/local_discovery/privetv2_setup_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698