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

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

Issue 14995019: Added missing function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "remoting/protocol/pairing_registry.h" 5 #include "remoting/protocol/pairing_registry.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/guid.h" 9 #include "base/guid.h"
10 #include "crypto/random.h" 10 #include "crypto/random.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 DCHECK(CalledOnValidThread()); 49 DCHECK(CalledOnValidThread());
50 50
51 std::string result; 51 std::string result;
52 PairedClients::const_iterator i = paired_clients_.find(client_id); 52 PairedClients::const_iterator i = paired_clients_.find(client_id);
53 if (i != paired_clients_.end()) { 53 if (i != paired_clients_.end()) {
54 result = i->second.shared_secret; 54 result = i->second.shared_secret;
55 } 55 }
56 return result; 56 return result;
57 } 57 }
58 58
59 void NotImplementedPairingRegistryDelegate::Save(
60 const PairingRegistry::PairedClients& paired_clients) {
61 NOTIMPLEMENTED();
62 };
63
59 } // namespace protocol 64 } // namespace protocol
60 } // namespace remoting 65 } // namespace remoting
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698