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

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

Issue 897873002: Make ComponentInstaller refcounted. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@2015_01_19_component_installer
Patch Set: fix Created 5 years, 10 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 #ifndef COMPONENTS_UPDATE_CLIENT_TEST_COMPONENT_PATCHER_UNITTEST_H_ 5 #ifndef COMPONENTS_UPDATE_CLIENT_TEST_COMPONENT_PATCHER_UNITTEST_H_
6 #define COMPONENTS_UPDATE_CLIENT_TEST_COMPONENT_PATCHER_UNITTEST_H_ 6 #define COMPONENTS_UPDATE_CLIENT_TEST_COMPONENT_PATCHER_UNITTEST_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/files/scoped_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 12 matching lines...) Expand all
23 23
24 class ComponentPatcherOperationTest : public testing::Test { 24 class ComponentPatcherOperationTest : public testing::Test {
25 public: 25 public:
26 ComponentPatcherOperationTest(); 26 ComponentPatcherOperationTest();
27 ~ComponentPatcherOperationTest() override; 27 ~ComponentPatcherOperationTest() override;
28 28
29 protected: 29 protected:
30 base::ScopedTempDir input_dir_; 30 base::ScopedTempDir input_dir_;
31 base::ScopedTempDir installed_dir_; 31 base::ScopedTempDir installed_dir_;
32 base::ScopedTempDir unpack_dir_; 32 base::ScopedTempDir unpack_dir_;
33 scoped_ptr<ReadOnlyTestInstaller> installer_; 33 scoped_refptr<ReadOnlyTestInstaller> installer_;
34 scoped_refptr<base::SequencedTaskRunner> task_runner_; 34 scoped_refptr<base::SequencedTaskRunner> task_runner_;
35 35
36 private: 36 private:
37 base::MessageLoopForIO loop_; 37 base::MessageLoopForIO loop_;
38 }; 38 };
39 39
40 } // namespace update_client 40 } // namespace update_client
41 41
42 #endif // COMPONENTS_UPDATE_CLIENT_TEST_COMPONENT_PATCHER_UNITTEST_H_ 42 #endif // COMPONENTS_UPDATE_CLIENT_TEST_COMPONENT_PATCHER_UNITTEST_H_
OLDNEW
« no previous file with comments | « components/update_client/component_unpacker.cc ('k') | components/update_client/test/component_patcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698