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

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

Issue 3203008: Move prefs-related files under chrome/browser/ into a prefs/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 5
6 6
7 //------------------------------------------------------------------------------ 7 //------------------------------------------------------------------------------
8 // Description of the life cycle of a instance of MetricsService. 8 // Description of the life cycle of a instance of MetricsService.
9 // 9 //
10 // OVERVIEW 10 // OVERVIEW
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 #include "base/string_number_conversions.h" 170 #include "base/string_number_conversions.h"
171 #include "base/thread.h" 171 #include "base/thread.h"
172 #include "base/values.h" 172 #include "base/values.h"
173 #include "chrome/browser/bookmarks/bookmark_model.h" 173 #include "chrome/browser/bookmarks/bookmark_model.h"
174 #include "chrome/browser/browser_list.h" 174 #include "chrome/browser/browser_list.h"
175 #include "chrome/browser/browser_process.h" 175 #include "chrome/browser/browser_process.h"
176 #include "chrome/browser/load_notification_details.h" 176 #include "chrome/browser/load_notification_details.h"
177 #include "chrome/browser/memory_details.h" 177 #include "chrome/browser/memory_details.h"
178 #include "chrome/browser/metrics/histogram_synchronizer.h" 178 #include "chrome/browser/metrics/histogram_synchronizer.h"
179 #include "chrome/browser/metrics/metrics_log.h" 179 #include "chrome/browser/metrics/metrics_log.h"
180 #include "chrome/browser/pref_service.h" 180 #include "chrome/browser/prefs/pref_service.h"
181 #include "chrome/browser/profile.h" 181 #include "chrome/browser/profile.h"
182 #include "chrome/browser/renderer_host/render_process_host.h" 182 #include "chrome/browser/renderer_host/render_process_host.h"
183 #include "chrome/browser/search_engines/template_url_model.h" 183 #include "chrome/browser/search_engines/template_url_model.h"
184 #include "chrome/common/child_process_info.h" 184 #include "chrome/common/child_process_info.h"
185 #include "chrome/common/child_process_logging.h" 185 #include "chrome/common/child_process_logging.h"
186 #include "chrome/common/chrome_switches.h" 186 #include "chrome/common/chrome_switches.h"
187 #include "chrome/common/notification_service.h" 187 #include "chrome/common/notification_service.h"
188 #include "chrome/common/pref_names.h" 188 #include "chrome/common/pref_names.h"
189 #include "chrome/common/render_messages.h" 189 #include "chrome/common/render_messages.h"
190 #include "webkit/glue/plugins/plugin_list.h" 190 #include "webkit/glue/plugins/plugin_list.h"
(...skipping 1751 matching lines...) Expand 10 before | Expand all | Expand 10 after
1942 thread_id = PlatformThread::CurrentId(); 1942 thread_id = PlatformThread::CurrentId();
1943 return PlatformThread::CurrentId() == thread_id; 1943 return PlatformThread::CurrentId() == thread_id;
1944 } 1944 }
1945 1945
1946 #if defined(OS_CHROMEOS) 1946 #if defined(OS_CHROMEOS)
1947 void MetricsService::StartExternalMetrics() { 1947 void MetricsService::StartExternalMetrics() {
1948 external_metrics_ = new chromeos::ExternalMetrics; 1948 external_metrics_ = new chromeos::ExternalMetrics;
1949 external_metrics_->Start(); 1949 external_metrics_->Start();
1950 } 1950 }
1951 #endif 1951 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698