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

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

Issue 6966037: Move LoadNotificationDetails to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DEPS too Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/load_notification_details.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 //------------------------------------------------------------------------------ 5 //------------------------------------------------------------------------------
6 // Description of the life cycle of a instance of MetricsService. 6 // Description of the life cycle of a instance of MetricsService.
7 // 7 //
8 // OVERVIEW 8 // OVERVIEW
9 // 9 //
10 // A MetricsService instance is typically created at application startup. It 10 // A MetricsService instance is typically created at application startup. It
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 #include "base/command_line.h" 162 #include "base/command_line.h"
163 #include "base/md5.h" 163 #include "base/md5.h"
164 #include "base/metrics/histogram.h" 164 #include "base/metrics/histogram.h"
165 #include "base/string_number_conversions.h" 165 #include "base/string_number_conversions.h"
166 #include "base/threading/platform_thread.h" 166 #include "base/threading/platform_thread.h"
167 #include "base/threading/thread.h" 167 #include "base/threading/thread.h"
168 #include "base/utf_string_conversions.h" 168 #include "base/utf_string_conversions.h"
169 #include "base/values.h" 169 #include "base/values.h"
170 #include "chrome/browser/bookmarks/bookmark_model.h" 170 #include "chrome/browser/bookmarks/bookmark_model.h"
171 #include "chrome/browser/browser_process.h" 171 #include "chrome/browser/browser_process.h"
172 #include "chrome/browser/load_notification_details.h"
173 #include "chrome/browser/memory_details.h" 172 #include "chrome/browser/memory_details.h"
174 #include "chrome/browser/metrics/histogram_synchronizer.h" 173 #include "chrome/browser/metrics/histogram_synchronizer.h"
175 #include "chrome/browser/metrics/metrics_log.h" 174 #include "chrome/browser/metrics/metrics_log.h"
176 #include "chrome/browser/metrics/metrics_reporting_scheduler.h" 175 #include "chrome/browser/metrics/metrics_reporting_scheduler.h"
177 #include "chrome/browser/prefs/pref_service.h" 176 #include "chrome/browser/prefs/pref_service.h"
178 #include "chrome/browser/prefs/scoped_user_pref_update.h" 177 #include "chrome/browser/prefs/scoped_user_pref_update.h"
179 #include "chrome/browser/profiles/profile.h" 178 #include "chrome/browser/profiles/profile.h"
180 #include "chrome/browser/search_engines/template_url_model.h" 179 #include "chrome/browser/search_engines/template_url_model.h"
181 #include "chrome/browser/ui/browser_list.h" 180 #include "chrome/browser/ui/browser_list.h"
182 #include "chrome/common/child_process_logging.h" 181 #include "chrome/common/child_process_logging.h"
183 #include "chrome/common/chrome_switches.h" 182 #include "chrome/common/chrome_switches.h"
184 #include "chrome/common/guid.h" 183 #include "chrome/common/guid.h"
185 #include "chrome/common/pref_names.h" 184 #include "chrome/common/pref_names.h"
186 #include "chrome/common/render_messages.h" 185 #include "chrome/common/render_messages.h"
186 #include "content/browser/load_notification_details.h"
187 #include "content/browser/renderer_host/render_process_host.h" 187 #include "content/browser/renderer_host/render_process_host.h"
188 #include "content/common/child_process_info.h" 188 #include "content/common/child_process_info.h"
189 #include "content/common/notification_service.h" 189 #include "content/common/notification_service.h"
190 #include "webkit/plugins/npapi/plugin_list.h" 190 #include "webkit/plugins/npapi/plugin_list.h"
191 #include "webkit/plugins/npapi/webplugininfo.h" 191 #include "webkit/plugins/npapi/webplugininfo.h"
192 192
193 // TODO(port): port browser_distribution.h. 193 // TODO(port): port browser_distribution.h.
194 #if !defined(OS_POSIX) 194 #if !defined(OS_POSIX)
195 #include "chrome/installer/util/browser_distribution.h" 195 #include "chrome/installer/util/browser_distribution.h"
196 #endif 196 #endif
(...skipping 1492 matching lines...) Expand 10 before | Expand all | Expand 10 after
1689 thread_id = base::PlatformThread::CurrentId(); 1689 thread_id = base::PlatformThread::CurrentId();
1690 return base::PlatformThread::CurrentId() == thread_id; 1690 return base::PlatformThread::CurrentId() == thread_id;
1691 } 1691 }
1692 1692
1693 #if defined(OS_CHROMEOS) 1693 #if defined(OS_CHROMEOS)
1694 void MetricsService::StartExternalMetrics() { 1694 void MetricsService::StartExternalMetrics() {
1695 external_metrics_ = new chromeos::ExternalMetrics; 1695 external_metrics_ = new chromeos::ExternalMetrics;
1696 external_metrics_->Start(); 1696 external_metrics_->Start();
1697 } 1697 }
1698 #endif 1698 #endif
OLDNEW
« no previous file with comments | « chrome/browser/load_notification_details.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698