Popular sites on the NTP: re-download popular suggestions once per Chrome run
[chromium-blink-merge.git] / chrome / browser / password_manager / test_password_store_service.h
blob3660f2505ee47d962af71f4544ae018c83389b77
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 CHROME_BROWSER_PASSWORD_MANAGER_TEST_PASSWORD_STORE_SERVICE_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_TEST_PASSWORD_STORE_SERVICE_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/password_manager/password_store_factory.h"
11 namespace content {
12 class BrowserContext;
15 namespace password_manager {
16 class PasswordStore;
19 class TestPasswordStoreService : public PasswordStoreService {
20 public:
21 static scoped_ptr<KeyedService> Build(content::BrowserContext* profile);
23 private:
24 explicit TestPasswordStoreService(
25 scoped_refptr<password_manager::PasswordStore> password_store);
27 ~TestPasswordStoreService() override;
29 DISALLOW_COPY_AND_ASSIGN(TestPasswordStoreService);
32 #endif // CHROME_BROWSER_PASSWORD_MANAGER_TEST_PASSWORD_STORE_SERVICE_H_