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

Unified Diff: remoting/host/pairing_registry_delegate.h

Issue 21128006: Refactored PairingRegistry::Delegate such that it can retrieve/modify for a single client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cosmetic 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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/pairing_registry_delegate.h
diff --git a/remoting/host/pairing_registry_delegate.h b/remoting/host/pairing_registry_delegate.h
index 82ecbdedd4c4ed0509864306f8d4bbb988ec9c2c..238f20c303aa3f15df62dddd9de1ab59c5056be0 100644
--- a/remoting/host/pairing_registry_delegate.h
+++ b/remoting/host/pairing_registry_delegate.h
@@ -10,20 +10,19 @@
#include "remoting/protocol/pairing_registry.h"
namespace base {
-class TaskRunner;
+class SingleThreadTaskRunner;
} // namespace base
namespace remoting {
// Returns a platform-specific pairing registry delegate that will save to
-// permanent storage using the specified TaskRunner. Returns NULL on platforms
-// that don't support pairing.
+// permanent storage. Returns NULL on platforms that don't support pairing.
scoped_ptr<protocol::PairingRegistry::Delegate>
-CreatePairingRegistryDelegate(scoped_refptr<base::TaskRunner> task_runner);
+CreatePairingRegistryDelegate();
// Convenience function which returns a new PairingRegistry, using the delegate
// returned by CreatePairingRegistryDelegate().
Jamie 2013/08/01 22:44:04 Please add something to this comment to explain wh
alexeypa (please no reviews) 2013/08/01 23:07:43 Done.
scoped_refptr<protocol::PairingRegistry> CreatePairingRegistry(
- scoped_refptr<base::TaskRunner> task_runner);
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner);
} // namespace remoting
« no previous file with comments | « no previous file | remoting/host/pairing_registry_delegate.cc » ('j') | remoting/host/pairing_registry_delegate_linux_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698