| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_NULL_PASSWORD_STORE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_NULL_PASSWORD_STORE_SERVICE_H_ |
| 6 #define CHROME_BROWSER_PASSWORD_MANAGER_NULL_PASSWORD_STORE_SERVICE_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_NULL_PASSWORD_STORE_SERVICE_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/password_manager/password_store_factory.h" | 8 #include "chrome/browser/password_manager/password_store_factory.h" |
| 9 | 9 |
| 10 class PasswordStore; | 10 class PasswordStore; |
| 11 | 11 |
| 12 namespace content { | 12 namespace content { |
| 13 class BrowserContext; | 13 class BrowserContext; |
| 14 } | 14 } |
| 15 | 15 |
| 16 class NullPasswordStoreService : public PasswordStoreService { | 16 class NullPasswordStoreService : public PasswordStoreService { |
| 17 public: | 17 public: |
| 18 static KeyedService* Build(content::BrowserContext* profile); | 18 static KeyedService* Build(content::BrowserContext* profile); |
| 19 | 19 |
| 20 private: | 20 private: |
| 21 NullPasswordStoreService(); | 21 NullPasswordStoreService(); |
| 22 | 22 |
| 23 virtual ~NullPasswordStoreService(); | 23 ~NullPasswordStoreService() override; |
| 24 | 24 |
| 25 DISALLOW_COPY_AND_ASSIGN(NullPasswordStoreService); | 25 DISALLOW_COPY_AND_ASSIGN(NullPasswordStoreService); |
| 26 }; | 26 }; |
| 27 | 27 |
| 28 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NULL_PASSWORD_STORE_SERVICE_H_ | 28 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NULL_PASSWORD_STORE_SERVICE_H_ |
| OLD | NEW |