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

Side by Side Diff: components/update_client/update_checker_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
« no previous file with comments | « components/update_client/update_checker.cc ('k') | components/update_client/update_client.cc » ('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/update_client/update_checker.h" 5 #include "components/update_client/update_checker.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/path_service.h" 14 #include "base/path_service.h"
15 #include "base/run_loop.h" 15 #include "base/run_loop.h"
16 #include "base/thread_task_runner_handle.h" 16 #include "base/threading/thread_task_runner_handle.h"
17 #include "base/version.h" 17 #include "base/version.h"
18 #include "components/prefs/testing_pref_service.h" 18 #include "components/prefs/testing_pref_service.h"
19 #include "components/update_client/crx_update_item.h" 19 #include "components/update_client/crx_update_item.h"
20 #include "components/update_client/persisted_data.h" 20 #include "components/update_client/persisted_data.h"
21 #include "components/update_client/test_configurator.h" 21 #include "components/update_client/test_configurator.h"
22 #include "components/update_client/url_request_post_interceptor.h" 22 #include "components/update_client/url_request_post_interceptor.h"
23 #include "net/url_request/url_request_test_util.h" 23 #include "net/url_request/url_request_test_util.h"
24 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
25 #include "url/gurl.h" 25 #include "url/gurl.h"
26 26
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 << post_interceptor_->GetRequestsAsString(); 408 << post_interceptor_->GetRequestsAsString();
409 ASSERT_EQ(2, post_interceptor_->GetCount()) 409 ASSERT_EQ(2, post_interceptor_->GetCount())
410 << post_interceptor_->GetRequestsAsString(); 410 << post_interceptor_->GetRequestsAsString();
411 EXPECT_NE(string::npos, post_interceptor_->GetRequests()[0].find( 411 EXPECT_NE(string::npos, post_interceptor_->GetRequests()[0].find(
412 "<ping rd=\"-2\" ping_freshness=")); 412 "<ping rd=\"-2\" ping_freshness="));
413 EXPECT_NE(string::npos, post_interceptor_->GetRequests()[1].find( 413 EXPECT_NE(string::npos, post_interceptor_->GetRequests()[1].find(
414 "<ping rd=\"3383\" ping_freshness=")); 414 "<ping rd=\"3383\" ping_freshness="));
415 } 415 }
416 416
417 } // namespace update_client 417 } // namespace update_client
OLDNEW
« no previous file with comments | « components/update_client/update_checker.cc ('k') | components/update_client/update_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698