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

Side by Side Diff: chrome/browser/ui/passwords/manage_passwords_icon_mock.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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_UI_PASSWORDS_MANAGE_PASSWORDS_ICON_MOCK_H_ 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_ICON_MOCK_H_
6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_ICON_MOCK_H_ 6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_ICON_MOCK_H_
7 7
8 #include "chrome/browser/ui/passwords/manage_passwords_icon.h" 8 #include "chrome/browser/ui/passwords/manage_passwords_icon.h"
9 9
10 // Mock ManagePasswordsIcon, for testing purposes only. 10 // Mock ManagePasswordsIcon, for testing purposes only.
11 class ManagePasswordsIconMock : public ManagePasswordsIcon { 11 class ManagePasswordsIconMock : public ManagePasswordsIcon {
12 public: 12 public:
13 ManagePasswordsIconMock(); 13 ManagePasswordsIconMock();
14 virtual ~ManagePasswordsIconMock(); 14 virtual ~ManagePasswordsIconMock();
15 15
16 protected: 16 protected:
17 // ManagePasswordsIcon: 17 // ManagePasswordsIcon:
18 virtual void UpdateVisibleUI() override; 18 void UpdateVisibleUI() override;
19 19
20 private: 20 private:
21 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsIconMock); 21 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsIconMock);
22 }; 22 };
23 23
24 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_ICON_MOCK_H_ 24 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_ICON_MOCK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698