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

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

Issue 57383010: Rename service subdir under chrome/browser to service_process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 is 10 // A MetricsService instance is typically created at application startup. It is
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 #include "chrome/browser/chromeos/external_metrics.h" 222 #include "chrome/browser/chromeos/external_metrics.h"
223 #include "chromeos/system/statistics_provider.h" 223 #include "chromeos/system/statistics_provider.h"
224 #endif 224 #endif
225 225
226 #if defined(OS_WIN) 226 #if defined(OS_WIN)
227 #include <windows.h> // Needed for STATUS_* codes 227 #include <windows.h> // Needed for STATUS_* codes
228 #include "base/win/registry.h" 228 #include "base/win/registry.h"
229 #endif 229 #endif
230 230
231 #if !defined(OS_ANDROID) 231 #if !defined(OS_ANDROID)
232 #include "chrome/browser/service/service_process_control.h" 232 #include "chrome/browser/service_process/service_process_control.h"
233 #endif 233 #endif
234 234
235 using base::Time; 235 using base::Time;
236 using content::BrowserThread; 236 using content::BrowserThread;
237 using content::ChildProcessData; 237 using content::ChildProcessData;
238 using content::LoadNotificationDetails; 238 using content::LoadNotificationDetails;
239 using content::PluginService; 239 using content::PluginService;
240 240
241 namespace { 241 namespace {
242 242
(...skipping 1625 matching lines...) Expand 10 before | Expand all | Expand 10 after
1868 if (local_state) { 1868 if (local_state) {
1869 const PrefService::Preference* uma_pref = 1869 const PrefService::Preference* uma_pref =
1870 local_state->FindPreference(prefs::kMetricsReportingEnabled); 1870 local_state->FindPreference(prefs::kMetricsReportingEnabled);
1871 if (uma_pref) { 1871 if (uma_pref) {
1872 bool success = uma_pref->GetValue()->GetAsBoolean(&result); 1872 bool success = uma_pref->GetValue()->GetAsBoolean(&result);
1873 DCHECK(success); 1873 DCHECK(success);
1874 } 1874 }
1875 } 1875 }
1876 return result; 1876 return result;
1877 } 1877 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698