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

Side by Side Diff: chrome/browser/chromeos/login/version_info_updater.h

Issue 9416097: Add butter bar to login screen to show device enrollement info. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update dates in copyright headers. Created 8 years, 9 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
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_LOGIN_VERSION_INFO_UPDATER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_VERSION_INFO_UPDATER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_VERSION_INFO_UPDATER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_VERSION_INFO_UPDATER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "chrome/browser/chromeos/boot_times_loader.h" 11 #include "chrome/browser/chromeos/boot_times_loader.h"
(...skipping 10 matching lines...) Expand all
22 public: 22 public:
23 virtual ~Delegate() {} 23 virtual ~Delegate() {}
24 24
25 // Called when OS version label should be updated. 25 // Called when OS version label should be updated.
26 virtual void OnOSVersionLabelTextUpdated( 26 virtual void OnOSVersionLabelTextUpdated(
27 const std::string& os_version_label_text) = 0; 27 const std::string& os_version_label_text) = 0;
28 28
29 // Called when boot times label should be updated. 29 // Called when boot times label should be updated.
30 virtual void OnBootTimesLabelTextUpdated( 30 virtual void OnBootTimesLabelTextUpdated(
31 const std::string& boot_times_label_text) = 0; 31 const std::string& boot_times_label_text) = 0;
32
33 // Called when the enterprise info notice should be updated.
34 virtual void OnEnterpriseInfoUpdated(
35 const std::string& enterprise_info) = 0;
32 }; 36 };
33 37
34 explicit VersionInfoUpdater(Delegate* delegate); 38 explicit VersionInfoUpdater(Delegate* delegate);
35 virtual ~VersionInfoUpdater(); 39 virtual ~VersionInfoUpdater();
36 40
37 // Sets delegate. 41 // Sets delegate.
38 void set_delegate(Delegate* delegate) { delegate_ = delegate; } 42 void set_delegate(Delegate* delegate) { delegate_ = delegate; }
39 43
40 // Starts fetching version info. The delegate will be notified when update 44 // Starts fetching version info. The delegate will be notified when update
41 // is received. 45 // is received.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 cloud_policy_registrar_; 93 cloud_policy_registrar_;
90 94
91 Delegate* delegate_; 95 Delegate* delegate_;
92 96
93 DISALLOW_COPY_AND_ASSIGN(VersionInfoUpdater); 97 DISALLOW_COPY_AND_ASSIGN(VersionInfoUpdater);
94 }; 98 };
95 99
96 } // namespace chromeos 100 } // namespace chromeos
97 101
98 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_VERSION_INFO_UPDATER_H_ 102 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_VERSION_INFO_UPDATER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698