Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git] / chrome / browser / password_manager / mock_password_store_service.h
blob9b335bd11b38b38d09acd08a6fd4882b9627df99
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_MOCK_PASSWORD_STORE_SERVICE_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_MOCK_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 MockPasswordStoreService : public PasswordStoreService {
20 public:
21 static scoped_ptr<KeyedService> Build(content::BrowserContext* profile);
23 private:
24 explicit MockPasswordStoreService(
25 scoped_refptr<password_manager::PasswordStore> password_store);
27 ~MockPasswordStoreService() override;
29 DISALLOW_COPY_AND_ASSIGN(MockPasswordStoreService);
32 #endif // CHROME_BROWSER_PASSWORD_MANAGER_MOCK_PASSWORD_STORE_SERVICE_H_