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

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

Issue 1868: Moves bookmark related classes into bookmarks directory. There are no... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 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/importer.cc ('k') | chrome/browser/profile.cc » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 //------------------------------------------------------------------------------ 155 //------------------------------------------------------------------------------
156 156
157 #include <windows.h> 157 #include <windows.h>
158 158
159 #include "chrome/browser/metrics_service.h" 159 #include "chrome/browser/metrics_service.h"
160 160
161 #include "base/histogram.h" 161 #include "base/histogram.h"
162 #include "base/path_service.h" 162 #include "base/path_service.h"
163 #include "base/string_util.h" 163 #include "base/string_util.h"
164 #include "base/task.h" 164 #include "base/task.h"
165 #include "chrome/browser/bookmark_bar_model.h" 165 #include "chrome/browser/bookmarks/bookmark_bar_model.h"
166 #include "chrome/browser/browser.h" 166 #include "chrome/browser/browser.h"
167 #include "chrome/browser/browser_list.h" 167 #include "chrome/browser/browser_list.h"
168 #include "chrome/browser/browser_process.h" 168 #include "chrome/browser/browser_process.h"
169 #include "chrome/browser/load_notification_details.h" 169 #include "chrome/browser/load_notification_details.h"
170 #include "chrome/browser/memory_details.h" 170 #include "chrome/browser/memory_details.h"
171 #include "chrome/browser/plugin_process_info.h" 171 #include "chrome/browser/plugin_process_info.h"
172 #include "chrome/browser/plugin_service.h" 172 #include "chrome/browser/plugin_service.h"
173 #include "chrome/browser/profile.h" 173 #include "chrome/browser/profile.h"
174 #include "chrome/browser/render_process_host.h" 174 #include "chrome/browser/render_process_host.h"
175 #include "chrome/browser/template_url.h" 175 #include "chrome/browser/template_url.h"
(...skipping 1331 matching lines...) Expand 10 before | Expand all | Expand 10 after
1507 prof_prefs->SetInteger(pref_key.c_str(), value); 1507 prof_prefs->SetInteger(pref_key.c_str(), value);
1508 } 1508 }
1509 1509
1510 static bool IsSingleThreaded() { 1510 static bool IsSingleThreaded() {
1511 static int thread_id = 0; 1511 static int thread_id = 0;
1512 if (!thread_id) 1512 if (!thread_id)
1513 thread_id = GetCurrentThreadId(); 1513 thread_id = GetCurrentThreadId();
1514 return GetCurrentThreadId() == thread_id; 1514 return GetCurrentThreadId() == thread_id;
1515 } 1515 }
1516 1516
OLDNEW
« no previous file with comments | « chrome/browser/importer.cc ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698