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

Side by Side Diff: components/metrics/test_metrics_service_client.h

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef COMPONENTS_METRICS_TEST_METRICS_SERVICE_CLIENT_H_ 5 #ifndef COMPONENTS_METRICS_TEST_METRICS_SERVICE_CLIENT_H_
6 #define COMPONENTS_METRICS_TEST_METRICS_SERVICE_CLIENT_H_ 6 #define COMPONENTS_METRICS_TEST_METRICS_SERVICE_CLIENT_H_
7 7
8 #include <stdint.h>
9
8 #include <string> 10 #include <string>
9 11
12 #include "base/macros.h"
10 #include "components/metrics/metrics_service_client.h" 13 #include "components/metrics/metrics_service_client.h"
11 14
12 namespace metrics { 15 namespace metrics {
13 16
14 // A simple concrete implementation of the MetricsServiceClient interface, for 17 // A simple concrete implementation of the MetricsServiceClient interface, for
15 // use in tests. 18 // use in tests.
16 class TestMetricsServiceClient : public MetricsServiceClient { 19 class TestMetricsServiceClient : public MetricsServiceClient {
17 public: 20 public:
18 static const char kBrandForTesting[]; 21 static const char kBrandForTesting[];
19 22
(...skipping 26 matching lines...) Expand all
46 std::string client_id_; 49 std::string client_id_;
47 std::string version_string_; 50 std::string version_string_;
48 int32_t product_; 51 int32_t product_;
49 52
50 DISALLOW_COPY_AND_ASSIGN(TestMetricsServiceClient); 53 DISALLOW_COPY_AND_ASSIGN(TestMetricsServiceClient);
51 }; 54 };
52 55
53 } // namespace metrics 56 } // namespace metrics
54 57
55 #endif // COMPONENTS_METRICS_TEST_METRICS_SERVICE_CLIENT_H_ 58 #endif // COMPONENTS_METRICS_TEST_METRICS_SERVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « components/metrics/system_memory_stats_recorder_linux.cc ('k') | components/metrics/ui/screen_info_metrics_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698