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

Side by Side Diff: chrome/browser/metrics/metrics_log_chromeos.cc

Issue 239093004: Move part of metrics from chrome/common to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding TBR section for owners of minor changes. Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/metrics/metrics_log_chromeos.h" 5 #include "chrome/browser/metrics/metrics_log_chromeos.h"
6 6
7 #include "base/prefs/pref_service.h" 7 #include "base/prefs/pref_service.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "chrome/browser/chromeos/login/user_manager.h" 11 #include "chrome/browser/chromeos/login/user_manager.h"
12 #include "chrome/common/metrics/proto/chrome_user_metrics_extension.pb.h"
13 #include "chrome/common/pref_names.h" 12 #include "chrome/common/pref_names.h"
13 #include "components/metrics/proto/chrome_user_metrics_extension.pb.h"
14 #include "device/bluetooth/bluetooth_adapter.h" 14 #include "device/bluetooth/bluetooth_adapter.h"
15 #include "device/bluetooth/bluetooth_adapter_factory.h" 15 #include "device/bluetooth/bluetooth_adapter_factory.h"
16 #include "device/bluetooth/bluetooth_device.h" 16 #include "device/bluetooth/bluetooth_device.h"
17 #include "ui/events/event_utils.h" 17 #include "ui/events/event_utils.h"
18 #include "ui/gfx/screen.h" 18 #include "ui/gfx/screen.h"
19 19
20 #if defined(USE_X11) 20 #if defined(USE_X11)
21 #include "ui/events/x/touch_factory_x11.h" 21 #include "ui/events/x/touch_factory_x11.h"
22 #endif // defined(USE_X11) 22 #endif // defined(USE_X11)
23 23
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 } 212 }
213 213
214 system_profile->set_multi_profile_user_count(user_count); 214 system_profile->set_multi_profile_user_count(user_count);
215 } 215 }
216 } 216 }
217 217
218 void MetricsLogChromeOS::SetBluetoothAdapter( 218 void MetricsLogChromeOS::SetBluetoothAdapter(
219 scoped_refptr<device::BluetoothAdapter> adapter) { 219 scoped_refptr<device::BluetoothAdapter> adapter) {
220 adapter_ = adapter; 220 adapter_ = adapter;
221 } 221 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698