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

Side by Side Diff: tools/json_schema_compiler/test/test_util.h

Issue 2843813002: Remove SetWithoutPathExpansion (Closed)
Patch Set: Fix CrOS Error Created 3 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
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 TOOLS_JSON_SCHEMA_COMPILER_TEST_TEST_UTIL_H_ 5 #ifndef TOOLS_JSON_SCHEMA_COMPILER_TEST_TEST_UTIL_H_
6 #define TOOLS_JSON_SCHEMA_COMPILER_TEST_TEST_UTIL_H_ 6 #define TOOLS_JSON_SCHEMA_COMPILER_TEST_TEST_UTIL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/strings/string_piece.h" 10 #include "base/strings/string_piece.h"
(...skipping 24 matching lines...) Expand all
35 } 35 }
36 36
37 // TODO(dcheng): These various helpers should all take std::unique_ptr 37 // TODO(dcheng): These various helpers should all take std::unique_ptr
38 // arguments. See https://crbug.com/581865. 38 // arguments. See https://crbug.com/581865.
39 std::unique_ptr<base::ListValue> List(base::Value* a); 39 std::unique_ptr<base::ListValue> List(base::Value* a);
40 std::unique_ptr<base::ListValue> List(base::Value* a, base::Value* b); 40 std::unique_ptr<base::ListValue> List(base::Value* a, base::Value* b);
41 std::unique_ptr<base::ListValue> List(base::Value* a, 41 std::unique_ptr<base::ListValue> List(base::Value* a,
42 base::Value* b, 42 base::Value* b,
43 base::Value* c); 43 base::Value* c);
44 44
45 std::unique_ptr<base::DictionaryValue> Dictionary(const std::string& ak, 45 std::unique_ptr<base::DictionaryValue> Dictionary(
46 base::Value* av); 46 const std::string& ak,
47 std::unique_ptr<base::DictionaryValue> Dictionary(const std::string& ak, 47 std::unique_ptr<base::Value> av);
48 base::Value* av, 48 std::unique_ptr<base::DictionaryValue> Dictionary(
49 const std::string& bk, 49 const std::string& ak,
50 base::Value* bv); 50 std::unique_ptr<base::Value> av,
51 std::unique_ptr<base::DictionaryValue> Dictionary(const std::string& ak, 51 const std::string& bk,
52 base::Value* av, 52 std::unique_ptr<base::Value> bv);
53 const std::string& bk, 53 std::unique_ptr<base::DictionaryValue> Dictionary(
54 base::Value* bv, 54 const std::string& ak,
55 const std::string& ck, 55 std::unique_ptr<base::Value> av,
56 base::Value* cv); 56 const std::string& bk,
57 std::unique_ptr<base::Value> bv,
58 const std::string& ck,
59 std::unique_ptr<base::Value> cv);
57 60
58 } // namespace test_util 61 } // namespace test_util
59 } // namespace json_schema_compiler 62 } // namespace json_schema_compiler
60 63
61 #endif // TOOLS_JSON_SCHEMA_COMPILER_TEST_TEST_UTIL_H_ 64 #endif // TOOLS_JSON_SCHEMA_COMPILER_TEST_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/test/simple_api_unittest.cc ('k') | tools/json_schema_compiler/test/test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698