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

Side by Side Diff: components/update_client/component_unpacker_unittest.cc

Issue 2873513002: Fix dependencies on OutOfProcessPatcher. (Closed)
Patch Set: base namespace fix Created 3 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 <iterator> 5 #include <iterator>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
10 #include "base/callback.h" 10 #include "base/callback.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/files/scoped_temp_dir.h" 13 #include "base/files/scoped_temp_dir.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "base/path_service.h" 16 #include "base/path_service.h"
17 #include "base/run_loop.h" 17 #include "base/run_loop.h"
18 #include "base/test/sequenced_worker_pool_owner.h" 18 #include "base/test/sequenced_worker_pool_owner.h"
19 #include "components/update_client/component_patcher_operation.h"
20 #include "components/update_client/component_unpacker.h" 19 #include "components/update_client/component_unpacker.h"
21 #include "components/update_client/test_configurator.h" 20 #include "components/update_client/test_configurator.h"
22 #include "components/update_client/test_installer.h" 21 #include "components/update_client/test_installer.h"
23 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
24 23
25 namespace { 24 namespace {
26 25
27 class TestCallback { 26 class TestCallback {
28 public: 27 public:
29 TestCallback(); 28 TestCallback();
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 base::Unretained(this))); 159 base::Unretained(this)));
161 RunThreads(); 160 RunThreads();
162 161
163 EXPECT_EQ(UnpackerError::kInvalidId, result_.error); 162 EXPECT_EQ(UnpackerError::kInvalidId, result_.error);
164 EXPECT_EQ(0, result_.extended_error); 163 EXPECT_EQ(0, result_.extended_error);
165 164
166 EXPECT_TRUE(result_.unpack_path.empty()); 165 EXPECT_TRUE(result_.unpack_path.empty());
167 } 166 }
168 167
169 } // namespace update_client 168 } // namespace update_client
OLDNEW
« no previous file with comments | « components/update_client/component_unpacker.cc ('k') | components/update_client/out_of_process_patcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698