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

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

Issue 18052008: Use a direct include of time headers in ppapi/, printing/, remoting/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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 REMOTING_PROTOCOL_PAIRING_REGISTRY_H_ 5 #ifndef REMOTING_PROTOCOL_PAIRING_REGISTRY_H_
6 #define REMOTING_PROTOCOL_PAIRING_REGISTRY_H_ 6 #define REMOTING_PROTOCOL_PAIRING_REGISTRY_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/threading/non_thread_safe.h" 14 #include "base/threading/non_thread_safe.h"
15 #include "base/time.h" 15 #include "base/time/time.h"
16 16
17 namespace remoting { 17 namespace remoting {
18 namespace protocol { 18 namespace protocol {
19 19
20 // PairingRegistry holds information about paired clients to support 20 // PairingRegistry holds information about paired clients to support
21 // PIN-less authentication. For each paired client, the registry holds 21 // PIN-less authentication. For each paired client, the registry holds
22 // the following information: 22 // the following information:
23 // * The name of the client. This is supplied by the client and is not 23 // * The name of the client. This is supplied by the client and is not
24 // guaranteed to be unique. 24 // guaranteed to be unique.
25 // * The unique id of the client. This is generated on-demand by this 25 // * The unique id of the client. This is generated on-demand by this
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 113
114 scoped_ptr<Delegate> delegate_; 114 scoped_ptr<Delegate> delegate_;
115 115
116 DISALLOW_COPY_AND_ASSIGN(PairingRegistry); 116 DISALLOW_COPY_AND_ASSIGN(PairingRegistry);
117 }; 117 };
118 118
119 } // namespace protocol 119 } // namespace protocol
120 } // namespace remoting 120 } // namespace remoting
121 121
122 #endif // REMOTING_PROTOCOL_PAIRING_REGISTRY_H_ 122 #endif // REMOTING_PROTOCOL_PAIRING_REGISTRY_H_
OLDNEW
« no previous file with comments | « remoting/protocol/libjingle_transport_factory.cc ('k') | remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698