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

Unified Diff: chrome/browser/chromeos/system/statistics_provider.cc

Issue 14643006: [chromeos] Remove dependencies of StatisticsProvider on chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/system/statistics_provider.cc
diff --git a/chrome/browser/chromeos/system/statistics_provider.cc b/chrome/browser/chromeos/system/statistics_provider.cc
index 3a912d6a45f604705b959ee1af03dd35b9d08f66..fe95de2b1db8f90c9408b861f666ef4181eba2d4 100644
--- a/chrome/browser/chromeos/system/statistics_provider.cc
+++ b/chrome/browser/chromeos/system/statistics_provider.cc
@@ -15,13 +15,10 @@
#include "base/synchronization/waitable_event.h"
#include "base/threading/thread_restrictions.h"
#include "base/time.h"
-#include "chrome/browser/chromeos/app_mode/kiosk_oem_manifest_parser.h"
-#include "chrome/browser/chromeos/system/name_value_pairs_parser.h"
-#include "chrome/common/child_process_logging.h"
-#include "chrome/common/chrome_constants.h"
-#include "chrome/common/chrome_paths.h"
-#include "chrome/common/chrome_version_info.h"
+#include "chromeos/app_mode/kiosk_oem_manifest_parser.h"
+#include "chromeos/chromeos_constants.h"
#include "chromeos/chromeos_switches.h"
+#include "chromeos/system/name_value_pairs_parser.h"
#include "content/public/browser/browser_thread.h"
using content::BrowserThread;
@@ -251,13 +248,13 @@ void StatisticsProviderImpl::LoadOemManifestFromFile(
if (!KioskOemManifestParser::Load(file, &oem_manifest))
return;
- machine_info_[chrome::kOemDeviceRequisitionKey] =
+ machine_info_[chromeos::kOemDeviceRequisitionKey] =
oem_manifest.device_requisition;
- machine_flags_[chrome::kOemIsEnterpriseManagedKey] =
+ machine_flags_[chromeos::kOemIsEnterpriseManagedKey] =
oem_manifest.enterprise_managed;
- machine_flags_[chrome::kOemCanExitEnterpriseEnrollmentKey] =
+ machine_flags_[chromeos::kOemCanExitEnterpriseEnrollmentKey] =
oem_manifest.can_exit_enrollment;
- machine_flags_[chrome::kOemKeyboardDrivenOobeKey] =
+ machine_flags_[chromeos::kOemKeyboardDrivenOobeKey] =
oem_manifest.keyboard_driven_oobe;
}

Powered by Google App Engine
This is Rietveld 408576698