| OLD | NEW |
| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 #include "chrome/browser/bookmarks/bookmark_model.h" | 166 #include "chrome/browser/bookmarks/bookmark_model.h" |
| 167 #include "chrome/browser/browser.h" | 167 #include "chrome/browser/browser.h" |
| 168 #include "chrome/browser/browser_list.h" | 168 #include "chrome/browser/browser_list.h" |
| 169 #include "chrome/browser/browser_process.h" | 169 #include "chrome/browser/browser_process.h" |
| 170 #include "chrome/browser/load_notification_details.h" | 170 #include "chrome/browser/load_notification_details.h" |
| 171 #include "chrome/browser/memory_details.h" | 171 #include "chrome/browser/memory_details.h" |
| 172 #include "chrome/browser/plugin_process_info.h" | 172 #include "chrome/browser/plugin_process_info.h" |
| 173 #include "chrome/browser/plugin_service.h" | 173 #include "chrome/browser/plugin_service.h" |
| 174 #include "chrome/browser/profile.h" | 174 #include "chrome/browser/profile.h" |
| 175 #include "chrome/browser/render_process_host.h" | 175 #include "chrome/browser/render_process_host.h" |
| 176 #include "chrome/browser/template_url.h" | 176 #include "chrome/browser/search_engines/template_url.h" |
| 177 #include "chrome/browser/template_url_model.h" | 177 #include "chrome/browser/search_engines/template_url_model.h" |
| 178 #include "chrome/common/chrome_paths.h" | 178 #include "chrome/common/chrome_paths.h" |
| 179 #include "chrome/common/libxml_utils.h" | 179 #include "chrome/common/libxml_utils.h" |
| 180 #include "chrome/common/pref_names.h" | 180 #include "chrome/common/pref_names.h" |
| 181 #include "chrome/common/pref_service.h" | 181 #include "chrome/common/pref_service.h" |
| 182 #include "chrome/installer/util/google_update_settings.h" | 182 #include "chrome/installer/util/google_update_settings.h" |
| 183 #include "googleurl/src/gurl.h" | 183 #include "googleurl/src/gurl.h" |
| 184 #include "net/base/load_flags.h" | 184 #include "net/base/load_flags.h" |
| 185 #include "third_party/bzip2/bzlib.h" | 185 #include "third_party/bzip2/bzlib.h" |
| 186 | 186 |
| 187 using base::Time; | 187 using base::Time; |
| (...skipping 1558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1746 L"." + key; | 1746 L"." + key; |
| 1747 prof_prefs->SetInteger(pref_key.c_str(), value); | 1747 prof_prefs->SetInteger(pref_key.c_str(), value); |
| 1748 } | 1748 } |
| 1749 | 1749 |
| 1750 static bool IsSingleThreaded() { | 1750 static bool IsSingleThreaded() { |
| 1751 static int thread_id = 0; | 1751 static int thread_id = 0; |
| 1752 if (!thread_id) | 1752 if (!thread_id) |
| 1753 thread_id = GetCurrentThreadId(); | 1753 thread_id = GetCurrentThreadId(); |
| 1754 return GetCurrentThreadId() == thread_id; | 1754 return GetCurrentThreadId() == thread_id; |
| 1755 } | 1755 } |
| OLD | NEW |