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

Side by Side Diff: components/feedback/feedback_uploader_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 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
« no previous file with comments | « components/feedback/feedback_uploader_factory.h ('k') | components/feedback/feedback_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "components/feedback/feedback_uploader.h" 5 #include "components/feedback/feedback_uploader.h"
6 6
7 #include <stddef.h>
8
7 #include <set> 9 #include <set>
8 10
9 #include "base/bind.h" 11 #include "base/bind.h"
10 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
11 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 14 #include "base/run_loop.h"
13 #include "base/stl_util.h" 15 #include "base/stl_util.h"
16 #include "build/build_config.h"
14 #include "components/feedback/feedback_uploader_chrome.h" 17 #include "components/feedback/feedback_uploader_chrome.h"
15 #include "components/feedback/feedback_uploader_factory.h" 18 #include "components/feedback/feedback_uploader_factory.h"
16 #include "components/pref_registry/testing_pref_service_syncable.h" 19 #include "components/pref_registry/testing_pref_service_syncable.h"
17 #include "components/user_prefs/user_prefs.h" 20 #include "components/user_prefs/user_prefs.h"
18 #include "content/public/test/test_browser_context.h" 21 #include "content/public/test/test_browser_context.h"
19 #include "content/public/test/test_browser_thread.h" 22 #include "content/public/test/test_browser_thread.h"
20 #include "testing/gmock/include/gmock/gmock.h" 23 #include "testing/gmock/include/gmock/gmock.h"
21 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
22 25
23 namespace { 26 namespace {
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 160
158 EXPECT_EQ(dispatched_reports_.size(), 5u); 161 EXPECT_EQ(dispatched_reports_.size(), 5u);
159 EXPECT_EQ(dispatched_reports_[kReportOne], 1u); 162 EXPECT_EQ(dispatched_reports_[kReportOne], 1u);
160 EXPECT_EQ(dispatched_reports_[kReportTwo], 2u); 163 EXPECT_EQ(dispatched_reports_[kReportTwo], 2u);
161 EXPECT_EQ(dispatched_reports_[kReportThree], 2u); 164 EXPECT_EQ(dispatched_reports_[kReportThree], 2u);
162 EXPECT_EQ(dispatched_reports_[kReportFour], 1u); 165 EXPECT_EQ(dispatched_reports_[kReportFour], 1u);
163 EXPECT_EQ(dispatched_reports_[kReportFive], 1u); 166 EXPECT_EQ(dispatched_reports_[kReportFive], 1u);
164 } 167 }
165 168
166 } // namespace feedback 169 } // namespace feedback
OLDNEW
« no previous file with comments | « components/feedback/feedback_uploader_factory.h ('k') | components/feedback/feedback_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698