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

Unified Diff: components/proximity_auth/mock_proximity_auth_client.cc

Issue 1316543003: Refactor ProximityAuthUIDelegate functions to ProximityAuthClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: components/proximity_auth/mock_proximity_auth_client.cc
diff --git a/components/proximity_auth/mock_proximity_auth_client.cc b/components/proximity_auth/mock_proximity_auth_client.cc
new file mode 100644
index 0000000000000000000000000000000000000000..71d81855fb4d8d4d412d2529172c91596990def6
--- /dev/null
+++ b/components/proximity_auth/mock_proximity_auth_client.cc
@@ -0,0 +1,23 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/proximity_auth/mock_proximity_auth_client.h"
+
+namespace proximity_auth {
+
+MockProximityAuthClient::MockProximityAuthClient() {}
+
+MockProximityAuthClient::~MockProximityAuthClient() {}
+
+scoped_ptr<SecureMessageDelegate>
+MockProximityAuthClient::CreateSecureMessageDelegate() {
+ return make_scoped_ptr(CreateSecureMessageDelegatePtr());
+}
+
+scoped_ptr<CryptAuthClientFactory>
+MockProximityAuthClient::CreateCryptAuthClientFactory() {
+ return make_scoped_ptr(CreateCryptAuthClientFactoryPtr());
+}
+
+} // proximity_auth

Powered by Google App Engine
This is Rietveld 408576698