1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_LOGGER_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_LOGGER_H_
9 #include "base/macros.h"
11 namespace password_manager {
13 // This interface is used by the password management code to report on progress
14 // of actions like saving a password.
15 class PasswordManagerLogger {
17 PasswordManagerLogger() {}
18 virtual ~PasswordManagerLogger() {}
20 virtual void LogSavePasswordProgress(const std::string& text) = 0;
23 DISALLOW_COPY_AND_ASSIGN(PasswordManagerLogger);
26 } // namespace password_manager
28 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_LOGGER_H_