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

Side by Side Diff: services/service_manager/public/cpp/test/service_test_catalog.h

Issue 2659523002: Generate better catalog C++ sources (Closed)
Patch Set: Created 3 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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_SERVICE_MANAGER_PUBLIC_CPP_TEST_SERVICE_TEST_CATALOG_H_
6 #define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_TEST_SERVICE_TEST_CATALOG_H_
7
8 #include <memory>
9
10 namespace base {
11 class Value;
12 }
13
5 namespace service_manager { 14 namespace service_manager {
6 namespace test { 15 namespace test {
7 16
8 // This symbol must be defined by any target linking against the 17 // This function must be defined by any target linking against the
9 // ":run_all_service_tests" target in this directory. Use the service_test 18 // ":run_all_service_tests" target in this directory. Use the service_test
10 // GN template defined in 19 // GN template defined in
11 // src/services/service_manager/public/tools/test/service_test.gni to 20 // src/services/service_manager/public/tools/test/service_test.gni to
12 // autogenerate and link against a definition of the symbol dervied from the 21 // autogenerate and link against a definition of the function generated from the
13 // contents of a generated service catalog. See the service_test.gni 22 // contents of a catalog manifest. See the service_test.gni documentation for
14 // documentation for more details. 23 // more details.
15 extern const char kServiceTestCatalog[]; 24 std::unique_ptr<base::Value> CreateTestCatalog();
16 25
17 } // namespace test 26 } // namespace test
18 } // namespace service_manager 27 } // namespace service_manager
28
29 #endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_TEST_SERVICE_TEST_CATALOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698