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

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

Issue 9838085: Move files inside chrome/browser/chromeos/dbus to chromeos/dbus (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 8 years, 8 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) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/timer.h" 10 #include "base/timer.h"
11 #include "chrome/browser/chromeos/dbus/update_engine_client.h"
12 #include "chrome/browser/upgrade_detector.h" 11 #include "chrome/browser/upgrade_detector.h"
12 #include "chromeos/dbus/update_engine_client.h"
13 13
14 template <typename T> struct DefaultSingletonTraits; 14 template <typename T> struct DefaultSingletonTraits;
15 15
16 class UpgradeDetectorChromeos : public UpgradeDetector, 16 class UpgradeDetectorChromeos : public UpgradeDetector,
17 public chromeos::UpdateEngineClient::Observer { 17 public chromeos::UpdateEngineClient::Observer {
18 public: 18 public:
19 virtual ~UpgradeDetectorChromeos(); 19 virtual ~UpgradeDetectorChromeos();
20 20
21 static UpgradeDetectorChromeos* GetInstance(); 21 static UpgradeDetectorChromeos* GetInstance();
22 22
(...skipping 19 matching lines...) Expand all
42 // user that a new version is available. 42 // user that a new version is available.
43 void NotifyOnUpgrade(); 43 void NotifyOnUpgrade();
44 44
45 // After we detect an upgrade we start a recurring timer to see if enough time 45 // After we detect an upgrade we start a recurring timer to see if enough time
46 // has passed and we should start notifying the user. 46 // has passed and we should start notifying the user.
47 base::RepeatingTimer<UpgradeDetectorChromeos> upgrade_notification_timer_; 47 base::RepeatingTimer<UpgradeDetectorChromeos> upgrade_notification_timer_;
48 bool initialized_; 48 bool initialized_;
49 }; 49 };
50 50
51 #endif // CHROME_BROWSER_CHROMEOS_UPGRADE_DETECTOR_CHROMEOS_H_ 51 #endif // CHROME_BROWSER_CHROMEOS_UPGRADE_DETECTOR_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/system/ash_system_tray_delegate.cc ('k') | chrome/browser/chromeos/upgrade_detector_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698