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

Side by Side Diff: components/filesystem/files_test_base.h

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 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/filesystem/file_system_impl.cc ('k') | components/filesystem/files_test_base.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_FILESYSTEM_FILES_TEST_BASE_H_ 5 #ifndef COMPONENTS_FILESYSTEM_FILES_TEST_BASE_H_
6 #define COMPONENTS_FILESYSTEM_FILES_TEST_BASE_H_ 6 #define COMPONENTS_FILESYSTEM_FILES_TEST_BASE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/filesystem/public/interfaces/file_system.mojom.h" 9 #include "components/filesystem/public/interfaces/file_system.mojom.h"
10 #include "mojo/public/cpp/bindings/binding.h" 10 #include "mojo/public/cpp/bindings/binding.h"
11 #include "mojo/shell/public/cpp/shell_test.h" 11 #include "services/shell/public/cpp/shell_test.h"
12 12
13 namespace filesystem { 13 namespace filesystem {
14 14
15 class FilesTestBase : public mojo::test::ShellTest { 15 class FilesTestBase : public mojo::test::ShellTest {
16 public: 16 public:
17 FilesTestBase(); 17 FilesTestBase();
18 ~FilesTestBase() override; 18 ~FilesTestBase() override;
19 19
20 // Overridden from mojo::test::ShellTest: 20 // Overridden from mojo::test::ShellTest:
21 void SetUp() override; 21 void SetUp() override;
22 22
23 protected: 23 protected:
24 // Note: This has an out parameter rather than returning the |DirectoryPtr|, 24 // Note: This has an out parameter rather than returning the |DirectoryPtr|,
25 // since |ASSERT_...()| doesn't work with return values. 25 // since |ASSERT_...()| doesn't work with return values.
26 void GetTemporaryRoot(DirectoryPtr* directory); 26 void GetTemporaryRoot(DirectoryPtr* directory);
27 27
28 FileSystemPtr& files() { return files_; } 28 FileSystemPtr& files() { return files_; }
29 29
30 private: 30 private:
31 FileSystemPtr files_; 31 FileSystemPtr files_;
32 32
33 DISALLOW_COPY_AND_ASSIGN(FilesTestBase); 33 DISALLOW_COPY_AND_ASSIGN(FilesTestBase);
34 }; 34 };
35 35
36 } // namespace filesystem 36 } // namespace filesystem
37 37
38 #endif // COMPONENTS_FILESYSTEM_FILES_TEST_BASE_H_ 38 #endif // COMPONENTS_FILESYSTEM_FILES_TEST_BASE_H_
OLDNEW
« no previous file with comments | « components/filesystem/file_system_impl.cc ('k') | components/filesystem/files_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698