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

Unified Diff: chrome/browser/metrics/extensions_metrics_provider.h

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/metrics/extensions_metrics_provider.h
diff --git a/chrome/browser/metrics/extensions_metrics_provider.h b/chrome/browser/metrics/extensions_metrics_provider.h
index 1e851b2613657bf3a75efc159459dfe65ab6b8b9..50ef6f2e01c2a12ed57175eddaf9f14f0136d8f5 100644
--- a/chrome/browser/metrics/extensions_metrics_provider.h
+++ b/chrome/browser/metrics/extensions_metrics_provider.h
@@ -5,9 +5,11 @@
#ifndef CHROME_BROWSER_METRICS_EXTENSIONS_METRICS_PROVIDER_H_
#define CHROME_BROWSER_METRICS_EXTENSIONS_METRICS_PROVIDER_H_
+#include <stdint.h>
+
#include <string>
-#include "base/basictypes.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "components/metrics/metrics_provider.h"
@@ -45,12 +47,13 @@ class ExtensionsMetricsProvider : public metrics::MetricsProvider {
Profile* profile);
// Retrieves the client ID.
- virtual uint64 GetClientID();
+ virtual uint64_t GetClientID();
// Hashes the extension extension ID using the provided client key (which
// must be less than kExtensionListClientKeys) and to produce an output value
// between 0 and kExtensionListBuckets-1.
- static int HashExtension(const std::string& extension_id, uint32 client_key);
+ static int HashExtension(const std::string& extension_id,
+ uint32_t client_key);
private:
// Returns the profile for which extensions will be gathered. Once a
« no previous file with comments | « chrome/browser/metrics/chromeos_metrics_provider_unittest.cc ('k') | chrome/browser/metrics/extensions_metrics_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698