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

Side by Side Diff: chrome/browser/chromeos/system/statistics_provider.cc

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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) 2011 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 #include "chrome/browser/chromeos/system/statistics_provider.h" 5 #include "chrome/browser/chromeos/system/statistics_provider.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
12 #include "base/synchronization/waitable_event.h" 12 #include "base/synchronization/waitable_event.h"
13 #include "base/task.h"
14 #include "base/time.h" 13 #include "base/time.h"
15 #include "chrome/browser/chromeos/system/name_value_pairs_parser.h" 14 #include "chrome/browser/chromeos/system/name_value_pairs_parser.h"
16 #include "chrome/browser/chromeos/system/runtime_environment.h" 15 #include "chrome/browser/chromeos/system/runtime_environment.h"
17 #include "chrome/common/chrome_version_info.h" 16 #include "chrome/common/chrome_version_info.h"
18 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
19 18
20 using content::BrowserThread; 19 using content::BrowserThread;
21 20
22 namespace chromeos { 21 namespace chromeos {
23 namespace system { 22 namespace system {
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 StatisticsProvider* StatisticsProvider::GetInstance() { 188 StatisticsProvider* StatisticsProvider::GetInstance() {
190 if (system::runtime_environment::IsRunningOnChromeOS()) { 189 if (system::runtime_environment::IsRunningOnChromeOS()) {
191 return StatisticsProviderImpl::GetInstance(); 190 return StatisticsProviderImpl::GetInstance();
192 } else { 191 } else {
193 return StatisticsProviderStubImpl::GetInstance(); 192 return StatisticsProviderStubImpl::GetInstance();
194 } 193 }
195 } 194 }
196 195
197 } // namespace system 196 } // namespace system
198 } // namespace chromeos 197 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698