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

Side by Side Diff: components/component_updater/test/component_patcher_unittest.h

Issue 808773005: Move most of the component updater artifacts to update_client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_COMPONENT_UPDATER_TEST_COMPONENT_PATCHER_UNITTEST_H_
6 #define COMPONENTS_COMPONENT_UPDATER_TEST_COMPONENT_PATCHER_UNITTEST_H_
7
8 #include "base/files/file_path.h"
9 #include "base/files/scoped_temp_dir.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "base/message_loop/message_loop.h"
12 #include "courgette/courgette.h"
13 #include "courgette/third_party/bsdiff.h"
14 #include "testing/gtest/include/gtest/gtest.h"
15
16 namespace component_updater {
17
18 class MockComponentPatcher;
19 class ReadOnlyTestInstaller;
20
21 const char binary_output_hash[] =
22 "599aba6d15a7da390621ef1bacb66601ed6aed04dadc1f9b445dcfe31296142a";
23
24 class ComponentPatcherOperationTest : public testing::Test {
25 public:
26 explicit ComponentPatcherOperationTest();
27 ~ComponentPatcherOperationTest() override;
28
29 protected:
30 base::ScopedTempDir input_dir_;
31 base::ScopedTempDir installed_dir_;
32 base::ScopedTempDir unpack_dir_;
33 scoped_ptr<ReadOnlyTestInstaller> installer_;
34 scoped_refptr<base::SequencedTaskRunner> task_runner_;
35
36 private:
37 base::MessageLoopForIO loop_;
38 };
39
40 } // namespace component_updater
41
42 #endif // COMPONENTS_COMPONENT_UPDATER_TEST_COMPONENT_PATCHER_UNITTEST_H_
OLDNEW
« no previous file with comments | « components/component_updater/test/DEPS ('k') | components/component_updater/test/component_patcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698