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

Side by Side Diff: components/update_client/crx_downloader_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/crx_downloader.h" 5 #include "components/update_client/crx_downloader.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_path.h" 11 #include "base/files/file_path.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.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 "build/build_config.h" 17 #include "build/build_config.h"
18 #include "net/base/net_errors.h" 18 #include "net/base/net_errors.h"
19 #include "net/url_request/test_url_request_interceptor.h" 19 #include "net/url_request/test_url_request_interceptor.h"
20 #include "net/url_request/url_request_test_util.h" 20 #include "net/url_request/url_request_test_util.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 22
23 using base::ContentsEqual; 23 using base::ContentsEqual;
24 24
25 namespace update_client { 25 namespace update_client {
26 26
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 424
425 EXPECT_EQ(0, get_interceptor_->GetHitCount()); 425 EXPECT_EQ(0, get_interceptor_->GetHitCount());
426 426
427 EXPECT_EQ(1, num_download_complete_calls_); 427 EXPECT_EQ(1, num_download_complete_calls_);
428 EXPECT_EQ(kExpectedContext, crx_context_); 428 EXPECT_EQ(kExpectedContext, crx_context_);
429 EXPECT_NE(0, download_complete_result_.error); 429 EXPECT_NE(0, download_complete_result_.error);
430 EXPECT_TRUE(download_complete_result_.response.empty()); 430 EXPECT_TRUE(download_complete_result_.response.empty());
431 } 431 }
432 432
433 } // namespace update_client 433 } // namespace update_client
OLDNEW
« no previous file with comments | « components/update_client/crx_downloader.cc ('k') | components/update_client/ping_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698