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

Unified Diff: components/proximity_auth/webui/cryptauth_enroller_factory_impl.cc

Issue 1302313004: Replace ProximityAuthUIDelegate with ProximityAuthClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@proximity_auth_client
Patch Set: fixes 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/webui/cryptauth_enroller_factory_impl.cc
diff --git a/components/proximity_auth/webui/cryptauth_enroller_factory_impl.cc b/components/proximity_auth/webui/cryptauth_enroller_factory_impl.cc
deleted file mode 100644
index e8c5ca2caa103220971efa185868e76a618aeb01..0000000000000000000000000000000000000000
--- a/components/proximity_auth/webui/cryptauth_enroller_factory_impl.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-// 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/webui/cryptauth_enroller_factory_impl.h"
-
-#include "components/proximity_auth/cryptauth/cryptauth_client.h"
-#include "components/proximity_auth/cryptauth/cryptauth_enroller_impl.h"
-#include "components/proximity_auth/cryptauth/secure_message_delegate.h"
-#include "components/proximity_auth/webui/proximity_auth_ui_delegate.h"
-
-namespace proximity_auth {
-
-CryptAuthEnrollerFactoryImpl::CryptAuthEnrollerFactoryImpl(
- ProximityAuthUIDelegate* delegate)
- : delegate_(delegate) {
-}
-
-CryptAuthEnrollerFactoryImpl::~CryptAuthEnrollerFactoryImpl() {
-}
-
-scoped_ptr<CryptAuthEnroller> CryptAuthEnrollerFactoryImpl::CreateInstance() {
- return make_scoped_ptr(
- new CryptAuthEnrollerImpl(delegate_->CreateCryptAuthClientFactory(),
- delegate_->CreateSecureMessageDelegate()));
-}
-
-} // namespace proximity_auth
« no previous file with comments | « components/proximity_auth/webui/cryptauth_enroller_factory_impl.h ('k') | components/proximity_auth/webui/proximity_auth_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698