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

Side by Side Diff: remoting/protocol/pin_fetcher.h

Issue 12518027: Protocol / client plugin changes to support interactively asking for a PIN (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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
OLDNEW
(Empty)
1 // Copyright 2013 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 REMOTING_PROTOCOL_PIN_FETCHER_H_
6 #define REMOTING_PROTOCOL_PIN_FETCHER_H_
7
8 #include "base/callback_forward.h"
9
10 namespace remoting {
11 namespace protocol {
12
13 class PinFetcher {
Sergey Ulanov 2013/03/17 21:29:21 Do we need this interface at all? There is only on
rmsousa 2013/03/18 21:07:26 Kinda... there's also an implicit Cancel() (in the
Sergey Ulanov 2013/03/19 02:44:53 But what does the cancel do? Would it hide the PIN
rmsousa 2013/03/19 23:14:31 Done.
14 public:
15 typedef base::Callback<void(const std::string& pin)> PinFetchedCallback;
16
17 virtual ~PinFetcher() {}
18
19 virtual void FetchPin(const PinFetchedCallback& pin_fetched_callback) = 0;
20 };
21
22 } // namespace protocol
23 } // namespace remoting
24
25 #endif // REMOTING_PROTOCOL_PIN_FETCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698