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

Unified Diff: chrome/browser/chromeos/login/version_info_updater.h

Issue 2876753003: Bootstrapping: Display Bluetooth name of CrOS device on OOBE screen. (Closed)
Patch Set: Address achuith@'s comments. Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/version_info_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/version_info_updater.h
diff --git a/chrome/browser/chromeos/login/version_info_updater.h b/chrome/browser/chromeos/login/version_info_updater.h
index b41f6aabeb408ebdc13aa4cb69778498dd003b13..c7be874af1e4a8a71844b36b288e629cccdf15df 100644
--- a/chrome/browser/chromeos/login/version_info_updater.h
+++ b/chrome/browser/chromeos/login/version_info_updater.h
@@ -15,6 +15,10 @@
#include "chromeos/system/version_loader.h"
#include "components/policy/core/common/cloud/cloud_policy_store.h"
+namespace device {
+class BluetoothAdapter;
+}
+
namespace chromeos {
class CrosSettings;
@@ -34,6 +38,9 @@ class VersionInfoUpdater : public policy::CloudPolicyStore::Observer {
// Called when the enterprise info notice should be updated.
virtual void OnEnterpriseInfoUpdated(const std::string& enterprise_info,
const std::string& asset_id) = 0;
+
+ // Called when the device info should be updated.
+ virtual void OnDeviceInfoUpdated(const std::string& bluetooth_name) = 0;
};
explicit VersionInfoUpdater(Delegate* delegate);
@@ -67,6 +74,9 @@ class VersionInfoUpdater : public policy::CloudPolicyStore::Observer {
// Callback from chromeos::VersionLoader giving the version.
void OnVersion(const std::string& version);
+ // Callback from device::BluetoothAdapterFactory::GetAdapter.
+ void OnGetAdapter(scoped_refptr<device::BluetoothAdapter> adapter);
+
// Information pieces for version label.
std::string version_text_;
std::string serial_number_text_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/version_info_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698