| OLD | NEW |
| 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 SERVICES_FILES_FILES_TEST_BASE_H_ | 5 #ifndef SERVICES_FILES_FILES_TEST_BASE_H_ |
| 6 #define SERVICES_FILES_FILES_TEST_BASE_H_ | 6 #define SERVICES_FILES_FILES_TEST_BASE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "mojo/public/cpp/application/application_test_base.h" | 9 #include "mojo/public/cpp/application/application_test_base.h" |
| 10 #include "mojo/services/files/public/interfaces/files.mojom.h" | 10 #include "mojo/services/files/interfaces/files.mojom.h" |
| 11 | 11 |
| 12 namespace mojo { | 12 namespace mojo { |
| 13 namespace files { | 13 namespace files { |
| 14 | 14 |
| 15 // TODO(vtl): Stuff copied from mojo/public/cpp/bindings/lib/template_util.h. | 15 // TODO(vtl): Stuff copied from mojo/public/cpp/bindings/lib/template_util.h. |
| 16 template <class T, T v> | 16 template <class T, T v> |
| 17 struct IntegralConstant { | 17 struct IntegralConstant { |
| 18 static const T value = v; | 18 static const T value = v; |
| 19 }; | 19 }; |
| 20 | 20 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 private: | 96 private: |
| 97 FilesPtr files_; | 97 FilesPtr files_; |
| 98 | 98 |
| 99 DISALLOW_COPY_AND_ASSIGN(FilesTestBase); | 99 DISALLOW_COPY_AND_ASSIGN(FilesTestBase); |
| 100 }; | 100 }; |
| 101 | 101 |
| 102 } // namespace files | 102 } // namespace files |
| 103 } // namespace mojo | 103 } // namespace mojo |
| 104 | 104 |
| 105 #endif // SERVICES_FILES_FILES_TEST_BASE_H_ | 105 #endif // SERVICES_FILES_FILES_TEST_BASE_H_ |
| OLD | NEW |