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

Side by Side Diff: chrome/browser/profiles/profile_metrics.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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 #include "chrome/browser/profiles/profile_metrics.h" 5 #include "chrome/browser/profiles/profile_metrics.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "build/build_config.h"
10 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/profiles/profile.h" 12 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/profiles/profile_info_cache.h" 13 #include "chrome/browser/profiles/profile_info_cache.h"
13 #include "chrome/browser/profiles/profile_manager.h" 14 #include "chrome/browser/profiles/profile_manager.h"
14 #include "chrome/browser/signin/chrome_signin_helper.h" 15 #include "chrome/browser/signin/chrome_signin_helper.h"
15 #include "chrome/browser/ui/browser_finder.h" 16 #include "chrome/browser/ui/browser_finder.h"
16 #include "chrome/common/chrome_constants.h" 17 #include "chrome/common/chrome_constants.h"
17 #include "chrome/installer/util/google_update_settings.h" 18 #include "chrome/installer/util/google_update_settings.h"
18 #include "components/profile_metrics/counts.h" 19 #include "components/profile_metrics/counts.h"
19 #include "content/public/browser/browser_thread.h" 20 #include "content/public/browser/browser_thread.h"
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 UMA_HISTOGRAM_ENUMERATION("Profile.SyncSignIn", 542 UMA_HISTOGRAM_ENUMERATION("Profile.SyncSignIn",
542 GetProfileType(profile_path), 543 GetProfileType(profile_path),
543 NUM_PROFILE_TYPE_METRICS); 544 NUM_PROFILE_TYPE_METRICS);
544 } 545 }
545 546
546 void ProfileMetrics::LogProfileUpdate(const base::FilePath& profile_path) { 547 void ProfileMetrics::LogProfileUpdate(const base::FilePath& profile_path) {
547 UMA_HISTOGRAM_ENUMERATION("Profile.Update", 548 UMA_HISTOGRAM_ENUMERATION("Profile.Update",
548 GetProfileType(profile_path), 549 GetProfileType(profile_path),
549 NUM_PROFILE_TYPE_METRICS); 550 NUM_PROFILE_TYPE_METRICS);
550 } 551 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_metrics.h ('k') | chrome/browser/profiles/profile_metrics_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698