Home | History | Annotate | Download | only in password_manager
      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.
      4 
      5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_TEST_PASSWORD_STORE_SERVICE_H_
      6 #define CHROME_BROWSER_PASSWORD_MANAGER_TEST_PASSWORD_STORE_SERVICE_H_
      7 
      8 #include "chrome/browser/password_manager/password_store_factory.h"
      9 
     10 namespace content {
     11 class BrowserContext;
     12 }
     13 
     14 namespace password_manager {
     15 class PasswordStore;
     16 }
     17 
     18 class TestPasswordStoreService : public PasswordStoreService {
     19  public:
     20   static KeyedService* Build(content::BrowserContext* profile);
     21 
     22  private:
     23   explicit TestPasswordStoreService(
     24       scoped_refptr<password_manager::PasswordStore> password_store);
     25 
     26   virtual ~TestPasswordStoreService();
     27 
     28   DISALLOW_COPY_AND_ASSIGN(TestPasswordStoreService);
     29 };
     30 
     31 #endif  // CHROME_BROWSER_PASSWORD_MANAGER_TEST_PASSWORD_STORE_SERVICE_H_
     32