summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/system/statistics_provider.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-24 18:12:55 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-24 18:12:55 +0000
commit4bf64786c41c7e35f09e3059c11d04bbce5972fe (patch)
tree4b637672bd64fef8698d1e8cbe6011cefc2a8ebf /chrome/browser/chromeos/system/statistics_provider.cc
parent948d8155a1a31d8dfa534cfdc4ba51b2036c3827 (diff)
downloadchromium_src-4bf64786c41c7e35f09e3059c11d04bbce5972fe.zip
chromium_src-4bf64786c41c7e35f09e3059c11d04bbce5972fe.tar.gz
chromium_src-4bf64786c41c7e35f09e3059c11d04bbce5972fe.tar.bz2
chromeos: Break the dependency to chrome_switches.h from statistics_provider.cc
BUG=154372 R=stevenjb@chromium.org TBR=ben@chromium.org Review URL: https://codereview.chromium.org/11244004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163870 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/system/statistics_provider.cc')
-rw-r--r--chrome/browser/chromeos/system/statistics_provider.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/chromeos/system/statistics_provider.cc b/chrome/browser/chromeos/system/statistics_provider.cc
index 81bf298..a2de9bd 100644
--- a/chrome/browser/chromeos/system/statistics_provider.cc
+++ b/chrome/browser/chromeos/system/statistics_provider.cc
@@ -14,11 +14,10 @@
#include "base/synchronization/waitable_event.h"
#include "base/threading/thread_restrictions.h"
#include "base/time.h"
-#include "base/chromeos/chromeos_version.h"
#include "chrome/browser/chromeos/system/name_value_pairs_parser.h"
#include "chrome/common/child_process_logging.h"
-#include "chrome/common/chrome_switches.h"
#include "chrome/common/chrome_version_info.h"
+#include "chromeos/chromeos_switches.h"
#include "content/public/browser/browser_thread.h"
using content::BrowserThread;
@@ -214,9 +213,9 @@ class StatisticsProviderStubImpl : public StatisticsProvider {
std::string* result) OVERRIDE {
if (name == "CHROMEOS_RELEASE_BOARD") {
const CommandLine* command_line = CommandLine::ForCurrentProcess();
- if (command_line->HasSwitch(switches::kChromeOSReleaseBoard)) {
+ if (command_line->HasSwitch(chromeos::switches::kChromeOSReleaseBoard)) {
*result = command_line->
- GetSwitchValueASCII(switches::kChromeOSReleaseBoard);
+ GetSwitchValueASCII(chromeos::switches::kChromeOSReleaseBoard);
return true;
}
}