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

Side by Side Diff: chrome/browser/chromeos/upgrade_detector_chromeos.h

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h 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
« no previous file with comments | « chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CHROMEOS_UPGRADE_DETECTOR_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_UPGRADE_DETECTOR_CHROMEOS_H_
6 #define CHROME_BROWSER_CHROMEOS_UPGRADE_DETECTOR_CHROMEOS_H_ 6 #define CHROME_BROWSER_CHROMEOS_UPGRADE_DETECTOR_CHROMEOS_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/timer/timer.h" 9 #include "base/timer/timer.h"
10 #include "chrome/browser/upgrade_detector.h" 10 #include "chrome/browser/upgrade_detector.h"
(...skipping 16 matching lines...) Expand all
27 // update engine. 27 // update engine.
28 void Shutdown(); 28 void Shutdown();
29 29
30 private: 30 private:
31 friend struct DefaultSingletonTraits<UpgradeDetectorChromeos>; 31 friend struct DefaultSingletonTraits<UpgradeDetectorChromeos>;
32 32
33 UpgradeDetectorChromeos(); 33 UpgradeDetectorChromeos();
34 34
35 // chromeos::UpdateEngineClient::Observer implementation. 35 // chromeos::UpdateEngineClient::Observer implementation.
36 virtual void UpdateStatusChanged( 36 virtual void UpdateStatusChanged(
37 const chromeos::UpdateEngineClient::Status& status) OVERRIDE; 37 const chromeos::UpdateEngineClient::Status& status) override;
38 38
39 // The function that sends out a notification (after a certain time has 39 // The function that sends out a notification (after a certain time has
40 // elapsed) that lets the rest of the UI know we should start notifying the 40 // elapsed) that lets the rest of the UI know we should start notifying the
41 // user that a new version is available. 41 // user that a new version is available.
42 void NotifyOnUpgrade(); 42 void NotifyOnUpgrade();
43 43
44 // After we detect an upgrade we start a recurring timer to see if enough time 44 // After we detect an upgrade we start a recurring timer to see if enough time
45 // has passed and we should start notifying the user. 45 // has passed and we should start notifying the user.
46 base::RepeatingTimer<UpgradeDetectorChromeos> upgrade_notification_timer_; 46 base::RepeatingTimer<UpgradeDetectorChromeos> upgrade_notification_timer_;
47 bool initialized_; 47 bool initialized_;
48 base::Time upgrade_detected_time_; 48 base::Time upgrade_detected_time_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(UpgradeDetectorChromeos); 50 DISALLOW_COPY_AND_ASSIGN(UpgradeDetectorChromeos);
51 }; 51 };
52 52
53 #endif // CHROME_BROWSER_CHROMEOS_UPGRADE_DETECTOR_CHROMEOS_H_ 53 #endif // CHROME_BROWSER_CHROMEOS_UPGRADE_DETECTOR_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698