Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: chrome/browser/password_manager/mock_password_store_service.h

Issue 659563005: Standardize usage of virtual/override/final in chrome/browser/password_manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_MOCK_PASSWORD_STORE_SERVICE_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_MOCK_PASSWORD_STORE_SERVICE_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_MOCK_PASSWORD_STORE_SERVICE_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_MOCK_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 namespace content { 10 namespace content {
11 class BrowserContext; 11 class BrowserContext;
12 } 12 }
13 13
14 namespace password_manager { 14 namespace password_manager {
15 class PasswordStore; 15 class PasswordStore;
16 } 16 }
17 17
18 class MockPasswordStoreService : public PasswordStoreService { 18 class MockPasswordStoreService : public PasswordStoreService {
19 public: 19 public:
20 static KeyedService* Build(content::BrowserContext* profile); 20 static KeyedService* Build(content::BrowserContext* profile);
21 21
22 private: 22 private:
23 explicit MockPasswordStoreService( 23 explicit MockPasswordStoreService(
24 scoped_refptr<password_manager::PasswordStore> password_store); 24 scoped_refptr<password_manager::PasswordStore> password_store);
25 25
26 virtual ~MockPasswordStoreService(); 26 ~MockPasswordStoreService() override;
27 27
28 DISALLOW_COPY_AND_ASSIGN(MockPasswordStoreService); 28 DISALLOW_COPY_AND_ASSIGN(MockPasswordStoreService);
29 }; 29 };
30 30
31 #endif // CHROME_BROWSER_PASSWORD_MANAGER_MOCK_PASSWORD_STORE_SERVICE_H_ 31 #endif // CHROME_BROWSER_PASSWORD_MANAGER_MOCK_PASSWORD_STORE_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698