Chromium Code Reviews

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

Issue 5849001: Move GUID utils to src/chrome/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chrome/common Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
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 151 matching lines...)
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/thread.h" 166 #include "base/thread.h"
167 #include "base/utf_string_conversions.h" 167 #include "base/utf_string_conversions.h"
168 #include "base/values.h" 168 #include "base/values.h"
169 #include "chrome/browser/bookmarks/bookmark_model.h" 169 #include "chrome/browser/bookmarks/bookmark_model.h"
170 #include "chrome/browser/browser_list.h" 170 #include "chrome/browser/browser_list.h"
171 #include "chrome/browser/browser_process.h" 171 #include "chrome/browser/browser_process.h"
172 #include "chrome/browser/guid.h"
173 #include "chrome/browser/load_notification_details.h" 172 #include "chrome/browser/load_notification_details.h"
174 #include "chrome/browser/memory_details.h" 173 #include "chrome/browser/memory_details.h"
175 #include "chrome/browser/metrics/histogram_synchronizer.h" 174 #include "chrome/browser/metrics/histogram_synchronizer.h"
176 #include "chrome/browser/metrics/metrics_log.h" 175 #include "chrome/browser/metrics/metrics_log.h"
177 #include "chrome/browser/prefs/pref_service.h" 176 #include "chrome/browser/prefs/pref_service.h"
178 #include "chrome/browser/profiles/profile.h" 177 #include "chrome/browser/profiles/profile.h"
179 #include "chrome/browser/renderer_host/render_process_host.h" 178 #include "chrome/browser/renderer_host/render_process_host.h"
180 #include "chrome/browser/search_engines/template_url_model.h" 179 #include "chrome/browser/search_engines/template_url_model.h"
181 #include "chrome/common/child_process_info.h" 180 #include "chrome/common/child_process_info.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"
183 #include "chrome/common/guid.h"
184 #include "chrome/common/notification_service.h" 184 #include "chrome/common/notification_service.h"
185 #include "chrome/common/pref_names.h" 185 #include "chrome/common/pref_names.h"
186 #include "chrome/common/render_messages.h" 186 #include "chrome/common/render_messages.h"
187 #include "webkit/glue/plugins/plugin_list.h" 187 #include "webkit/glue/plugins/plugin_list.h"
188 #include "webkit/glue/plugins/webplugininfo.h" 188 #include "webkit/glue/plugins/webplugininfo.h"
189 #include "libxml/xmlwriter.h" 189 #include "libxml/xmlwriter.h"
190 190
191 // TODO(port): port browser_distribution.h. 191 // TODO(port): port browser_distribution.h.
192 #if !defined(OS_POSIX) 192 #if !defined(OS_POSIX)
193 #include "chrome/installer/util/browser_distribution.h" 193 #include "chrome/installer/util/browser_distribution.h"
(...skipping 1714 matching lines...)
1908 thread_id = PlatformThread::CurrentId(); 1908 thread_id = PlatformThread::CurrentId();
1909 return PlatformThread::CurrentId() == thread_id; 1909 return PlatformThread::CurrentId() == thread_id;
1910 } 1910 }
1911 1911
1912 #if defined(OS_CHROMEOS) 1912 #if defined(OS_CHROMEOS)
1913 void MetricsService::StartExternalMetrics() { 1913 void MetricsService::StartExternalMetrics() {
1914 external_metrics_ = new chromeos::ExternalMetrics; 1914 external_metrics_ = new chromeos::ExternalMetrics;
1915 external_metrics_->Start(); 1915 external_metrics_->Start();
1916 } 1916 }
1917 #endif 1917 #endif
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/options/autofill_options_handler.cc ('k') | chrome/browser/policy/device_token_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine