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

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

Issue 7129071: Merge 88800 - Refactor UpgradeDetector. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/782/src/
Patch Set: Created 9 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chromeos/upgrade_detector_chromeos.cc » ('j') | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "base/timer.h" 9 #include "base/timer.h"
10 #include "chrome/browser/chromeos/cros/update_library.h" 10 #include "chrome/browser/chromeos/cros/update_library.h"
(...skipping 20 matching lines...) Expand all
31 // elapsed) that lets the rest of the UI know we should start notifying the 31 // elapsed) that lets the rest of the UI know we should start notifying the
32 // user that a new version is available. 32 // user that a new version is available.
33 void NotifyOnUpgrade(); 33 void NotifyOnUpgrade();
34 34
35 // After we detect an upgrade we start a recurring timer to see if enough time 35 // After we detect an upgrade we start a recurring timer to see if enough time
36 // has passed and we should start notifying the user. 36 // has passed and we should start notifying the user.
37 base::RepeatingTimer<UpgradeDetectorChromeos> upgrade_notification_timer_; 37 base::RepeatingTimer<UpgradeDetectorChromeos> upgrade_notification_timer_;
38 }; 38 };
39 39
40 #endif // CHROME_BROWSER_CHROMEOS_UPGRADE_DETECTOR_CHROMEOS_H_ 40 #endif // CHROME_BROWSER_CHROMEOS_UPGRADE_DETECTOR_CHROMEOS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/upgrade_detector_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698