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

Side by Side Diff: chrome/browser/ui/webui/help/version_updater_win.cc

Issue 629463003: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[w-z]* (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 (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 #include "base/memory/ref_counted.h" 5 #include "base/memory/ref_counted.h"
6 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
7 #include "base/memory/weak_ptr.h" 7 #include "base/memory/weak_ptr.h"
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "base/version.h" 9 #include "base/version.h"
10 #include "base/win/win_util.h" 10 #include "base/win/win_util.h"
(...skipping 23 matching lines...) Expand all
34 public GoogleUpdateStatusListener { 34 public GoogleUpdateStatusListener {
35 private: 35 private:
36 friend class VersionReader; 36 friend class VersionReader;
37 friend class VersionUpdater; 37 friend class VersionUpdater;
38 38
39 // Clients must use VersionUpdater::Create(). 39 // Clients must use VersionUpdater::Create().
40 VersionUpdaterWin(); 40 VersionUpdaterWin();
41 virtual ~VersionUpdaterWin(); 41 virtual ~VersionUpdaterWin();
42 42
43 // VersionUpdater implementation. 43 // VersionUpdater implementation.
44 virtual void CheckForUpdate(const StatusCallback& callback) OVERRIDE; 44 virtual void CheckForUpdate(const StatusCallback& callback) override;
45 virtual void RelaunchBrowser() const OVERRIDE; 45 virtual void RelaunchBrowser() const override;
46 46
47 // GoogleUpdateStatusListener implementation. 47 // GoogleUpdateStatusListener implementation.
48 virtual void OnReportResults(GoogleUpdateUpgradeResult result, 48 virtual void OnReportResults(GoogleUpdateUpgradeResult result,
49 GoogleUpdateErrorCode error_code, 49 GoogleUpdateErrorCode error_code,
50 const base::string16& error_message, 50 const base::string16& error_message,
51 const base::string16& version) OVERRIDE; 51 const base::string16& version) override;
52 52
53 // Update the UI to show the status of the upgrade. 53 // Update the UI to show the status of the upgrade.
54 void UpdateStatus(GoogleUpdateUpgradeResult result, 54 void UpdateStatus(GoogleUpdateUpgradeResult result,
55 GoogleUpdateErrorCode error_code, 55 GoogleUpdateErrorCode error_code,
56 const base::string16& error_message); 56 const base::string16& error_message);
57 57
58 // Got the intalled version so the handling of the UPGRADE_ALREADY_UP_TO_DATE 58 // Got the intalled version so the handling of the UPGRADE_ALREADY_UP_TO_DATE
59 // result case can now be completeb on the UI thread. 59 // result case can now be completeb on the UI thread.
60 void GotInstalledVersion(const Version& version); 60 void GotInstalledVersion(const Version& version);
61 61
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 << GetCurrentThreadId(); 299 << GetCurrentThreadId();
300 #endif 300 #endif
301 return window; 301 return window;
302 } 302 }
303 303
304 } // namespace 304 } // namespace
305 305
306 VersionUpdater* VersionUpdater::Create() { 306 VersionUpdater* VersionUpdater::Create() {
307 return new VersionUpdaterWin; 307 return new VersionUpdaterWin;
308 } 308 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/help/version_updater_mac.h ('k') | chrome/browser/ui/webui/history_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698