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

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

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.h
diff --git a/components/proximity_auth/webui/cryptauth_enroller_factory_impl.h b/components/proximity_auth/webui/cryptauth_enroller_factory_impl.h
deleted file mode 100644
index 5ab9bf2bbd41811441e9f3ce829094842bca5e65..0000000000000000000000000000000000000000
--- a/components/proximity_auth/webui/cryptauth_enroller_factory_impl.h
+++ /dev/null
@@ -1,35 +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.
-
-#ifndef COMPONENTS_PROXIMITY_AUTH_WEBUI_CRYPTAUTH_ENROLLER_FACTORY_IMPL_H
-#define COMPONENTS_PROXIMITY_AUTH_WEBUI_CRYPTAUTH_ENROLLER_FACTORY_IMPL_H
-
-#include "base/memory/scoped_ptr.h"
-#include "components/proximity_auth/cryptauth/cryptauth_enroller.h"
-
-namespace proximity_auth {
-
-class ProximityAuthUIDelegate;
-
-// Implementation of CryptAuthEnrollerFactory with dependencies on Chrome.
-// TODO(tengs): Move this class out of the webui directory when we are ready to
-// do enrollments in Chrome.
-class CryptAuthEnrollerFactoryImpl : public CryptAuthEnrollerFactory {
- public:
- explicit CryptAuthEnrollerFactoryImpl(ProximityAuthUIDelegate* delegate);
- ~CryptAuthEnrollerFactoryImpl() override;
-
- // CryptAuthEnrollerFactory:
- scoped_ptr<CryptAuthEnroller> CreateInstance() override;
-
- private:
- // |delegate_| is not owned and must outlive this instance.
- ProximityAuthUIDelegate* const delegate_;
-
- DISALLOW_COPY_AND_ASSIGN(CryptAuthEnrollerFactoryImpl);
-};
-
-} // namespace proximity_auth
-
-#endif // COMPONENTS_PROXIMITY_AUTH_WEBUI_CRYPTAUTH_ENROLLER_FACTORY_IMPL_H
« no previous file with comments | « components/proximity_auth/webui/BUILD.gn ('k') | components/proximity_auth/webui/cryptauth_enroller_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698