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

Side by Side Diff: components/rappor/log_uploader_unittest.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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 #include "components/rappor/log_uploader.h" 5 #include "components/rappor/log_uploader.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/thread_task_runner_handle.h" 9 #include "base/threading/thread_task_runner_handle.h"
10 #include "net/url_request/test_url_fetcher_factory.h" 10 #include "net/url_request/test_url_fetcher_factory.h"
11 #include "net/url_request/url_request_test_util.h" 11 #include "net/url_request/url_request_test_util.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 namespace rappor { 14 namespace rappor {
15 15
16 namespace { 16 namespace {
17 17
18 const char kTestServerURL[] = "http://a.com/"; 18 const char kTestServerURL[] = "http://a.com/";
19 const char kTestMimeType[] = "text/plain"; 19 const char kTestMimeType[] = "text/plain";
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 // Backoff until the maximum is reached. 149 // Backoff until the maximum is reached.
150 while (next > current) { 150 while (next > current) {
151 current = next; 151 current = next;
152 next = TestLogUploader::BackOff(current); 152 next = TestLogUploader::BackOff(current);
153 } 153 }
154 // Maximum backoff should have been reached. 154 // Maximum backoff should have been reached.
155 EXPECT_EQ(next, current); 155 EXPECT_EQ(next, current);
156 } 156 }
157 157
158 } // namespace rappor 158 } // namespace rappor
OLDNEW
« no previous file with comments | « components/proxy_config/pref_proxy_config_tracker_impl_unittest.cc ('k') | components/rlz/rlz_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698