Chromium Code Reviews| Index: components/password_manager/core/browser/dummy_log_manager.h |
| diff --git a/components/password_manager/core/browser/dummy_log_manager.h b/components/password_manager/core/browser/dummy_log_manager.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1f4a3b16961d82b3e8d09500f9781f258561c43a |
| --- /dev/null |
| +++ b/components/password_manager/core/browser/dummy_log_manager.h |
| @@ -0,0 +1,30 @@ |
| +// 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_PASSWORD_MANAGER_CORE_BROWSER_DUMMY_LOG_MANAGER_H_ |
| +#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_DUMMY_LOG_MANAGER_H_ |
| + |
| +#include "components/password_manager/core/browser/log_manager.h" |
| + |
| +#include "base/macros.h" |
| + |
| +namespace password_manager { |
| + |
|
vasilii
2015/11/13 12:17:31
A comment?
vabr (Chromium)
2015/11/13 20:48:18
Done.
|
| +class DummyLogManager : public LogManager { |
| + public: |
| + DummyLogManager() = default; |
| + ~DummyLogManager() override = default; |
| + |
| + private: |
| + // LogManager |
| + void OnLogRouterAvailabilityChanged(bool router_can_be_used) override; |
| + void LogSavePasswordProgress(const std::string& text) const override; |
| + bool IsLoggingActive() const override; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(DummyLogManager); |
| +}; |
| + |
| +} // namespace password_manager |
| + |
| +#endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_DUMMY_LOG_MANAGER_H_ |