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

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

Issue 699123004: Updated comments for gcdPrivate API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wed Nov 5 00:43:56 PST 2014 Created 6 years, 1 month 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVETV3_SETUP_FLOW_H_ 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVETV3_SETUP_FLOW_H_
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVETV3_SETUP_FLOW_H_ 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVETV3_SETUP_FLOW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 const std::string& device_id); 79 const std::string& device_id);
80 void OnPrivetClientCreated(scoped_ptr<PrivetHTTPClient> privet_http_client); 80 void OnPrivetClientCreated(scoped_ptr<PrivetHTTPClient> privet_http_client);
81 void OnCodeConfirmed(bool success); 81 void OnCodeConfirmed(bool success);
82 82
83 void OnSessionInitialized( 83 void OnSessionInitialized(
84 PrivetV3Session::Result result, 84 PrivetV3Session::Result result,
85 const std::vector<PrivetV3Session::PairingType>& types); 85 const std::vector<PrivetV3Session::PairingType>& types);
86 void OnPairingStarted(PrivetV3Session::Result result); 86 void OnPairingStarted(PrivetV3Session::Result result);
87 void OnPairingDone(PrivetV3Session::Result result); 87 void OnPairingDone(PrivetV3Session::Result result);
88 void OnSetupMessageSent(PrivetV3Session::Result result, 88 void OnSetupMessageSent(PrivetV3Session::Result result,
89 const base::DictionaryValue& responce); 89 const base::DictionaryValue& response);
90 90
91 Delegate* delegate_; 91 Delegate* delegate_;
92 std::string service_name_; 92 std::string service_name_;
93 std::string device_id_; 93 std::string device_id_;
94 std::string ticket_id_; 94 std::string ticket_id_;
95 scoped_ptr<GCDApiFlow> ticket_request_; 95 scoped_ptr<GCDApiFlow> ticket_request_;
96 scoped_ptr<PrivetV3Session> session_; 96 scoped_ptr<PrivetV3Session> session_;
97 base::WeakPtrFactory<PrivetV3SetupFlow> weak_ptr_factory_; 97 base::WeakPtrFactory<PrivetV3SetupFlow> weak_ptr_factory_;
98 98
99 DISALLOW_COPY_AND_ASSIGN(PrivetV3SetupFlow); 99 DISALLOW_COPY_AND_ASSIGN(PrivetV3SetupFlow);
100 }; 100 };
101 101
102 } // namespace local_discovery 102 } // namespace local_discovery
103 103
104 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVETV3_SETUP_FLOW_H_ 104 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVETV3_SETUP_FLOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/local_discovery/privetv3_session.cc ('k') | chrome/browser/local_discovery/privetv3_setup_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698