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

Side by Side Diff: chrome/browser/chromeos/external_metrics.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (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) 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 #include "chrome/browser/chromeos/external_metrics.h" 5 #include "chrome/browser/chromeos/external_metrics.h"
6 6
7 #include <stddef.h>
8
7 #include <map> 9 #include <map>
8 #include <string> 10 #include <string>
9 11
10 #include "base/bind.h" 12 #include "base/bind.h"
11 #include "base/metrics/histogram.h" 13 #include "base/metrics/histogram.h"
12 #include "base/metrics/sparse_histogram.h" 14 #include "base/metrics/sparse_histogram.h"
13 #include "base/metrics/statistics_recorder.h" 15 #include "base/metrics/statistics_recorder.h"
14 #include "chrome/browser/browser_process.h" 16 #include "chrome/browser/browser_process.h"
15 #include "chrome/browser/metrics/chromeos_metrics_provider.h" 17 #include "chrome/browser/metrics/chromeos_metrics_provider.h"
16 #include "components/metrics/metrics_service.h" 18 #include "components/metrics/metrics_service.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 172
171 void ExternalMetrics::ScheduleCollector() { 173 void ExternalMetrics::ScheduleCollector() {
172 bool result = BrowserThread::GetBlockingPool()->PostDelayedWorkerTask( 174 bool result = BrowserThread::GetBlockingPool()->PostDelayedWorkerTask(
173 FROM_HERE, 175 FROM_HERE,
174 base::Bind(&chromeos::ExternalMetrics::CollectEventsAndReschedule, this), 176 base::Bind(&chromeos::ExternalMetrics::CollectEventsAndReschedule, this),
175 base::TimeDelta::FromSeconds(kExternalMetricsCollectionIntervalSeconds)); 177 base::TimeDelta::FromSeconds(kExternalMetricsCollectionIntervalSeconds));
176 DCHECK(result); 178 DCHECK(result);
177 } 179 }
178 180
179 } // namespace chromeos 181 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/external_metrics.h ('k') | chrome/browser/chromeos/external_protocol_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698