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

Side by Side Diff: chrome/browser/plugins/plugin_installer.h

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PLUGINS_PLUGIN_INSTALLER_H_ 5 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_H_
6 #define CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_H_ 6 #define CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_H_
7 7
8 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 15 matching lines...) Expand all
26 class PluginInstaller : public content::DownloadItem::Observer { 26 class PluginInstaller : public content::DownloadItem::Observer {
27 public: 27 public:
28 enum InstallerState { 28 enum InstallerState {
29 INSTALLER_STATE_IDLE, 29 INSTALLER_STATE_IDLE,
30 INSTALLER_STATE_DOWNLOADING, 30 INSTALLER_STATE_DOWNLOADING,
31 }; 31 };
32 32
33 PluginInstaller(); 33 PluginInstaller();
34 virtual ~PluginInstaller(); 34 virtual ~PluginInstaller();
35 35
36 virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE; 36 virtual void OnDownloadUpdated(content::DownloadItem* download) override;
37 virtual void OnDownloadDestroyed(content::DownloadItem* download) OVERRIDE; 37 virtual void OnDownloadDestroyed(content::DownloadItem* download) override;
38 38
39 void AddObserver(PluginInstallerObserver* observer); 39 void AddObserver(PluginInstallerObserver* observer);
40 void RemoveObserver(PluginInstallerObserver* observer); 40 void RemoveObserver(PluginInstallerObserver* observer);
41 41
42 void AddWeakObserver(WeakPluginInstallerObserver* observer); 42 void AddWeakObserver(WeakPluginInstallerObserver* observer);
43 void RemoveWeakObserver(WeakPluginInstallerObserver* observer); 43 void RemoveWeakObserver(WeakPluginInstallerObserver* observer);
44 44
45 InstallerState state() const { return state_; } 45 InstallerState state() const { return state_; }
46 46
47 // Opens the download URL in a new tab. 47 // Opens the download URL in a new tab.
(...skipping 21 matching lines...) Expand all
69 ObserverList<WeakPluginInstallerObserver> weak_observers_; 69 ObserverList<WeakPluginInstallerObserver> weak_observers_;
70 70
71 FRIEND_TEST_ALL_PREFIXES(PluginInstallerTest, 71 FRIEND_TEST_ALL_PREFIXES(PluginInstallerTest,
72 StartInstalling_SuccessfulDownload); 72 StartInstalling_SuccessfulDownload);
73 FRIEND_TEST_ALL_PREFIXES(PluginInstallerTest, StartInstalling_FailedStart); 73 FRIEND_TEST_ALL_PREFIXES(PluginInstallerTest, StartInstalling_FailedStart);
74 FRIEND_TEST_ALL_PREFIXES(PluginInstallerTest, StartInstalling_Interrupted); 74 FRIEND_TEST_ALL_PREFIXES(PluginInstallerTest, StartInstalling_Interrupted);
75 DISALLOW_COPY_AND_ASSIGN(PluginInstaller); 75 DISALLOW_COPY_AND_ASSIGN(PluginInstaller);
76 }; 76 };
77 77
78 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_H_ 78 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/plugins/plugin_infobar_delegates.h ('k') | chrome/browser/plugins/plugin_installer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698