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

Side by Side Diff: chrome/browser/policy/policy_path_parser_unittest.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include <stddef.h>
6
5 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "build/build_config.h"
6 #include "chrome/browser/policy/policy_path_parser.h" 9 #include "chrome/browser/policy/policy_path_parser.h"
7 10
8 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
9 12
10 namespace policy { 13 namespace policy {
11 14
12 class PolicyPathParserTests : public testing::Test { 15 class PolicyPathParserTests : public testing::Test {
13 protected: 16 protected:
14 void CheckForSubstitution(base::FilePath::StringType test_string, 17 void CheckForSubstitution(base::FilePath::StringType test_string,
15 base::FilePath::StringType var_name) { 18 base::FilePath::StringType var_name) {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 FILE_PATH_LITERAL("${windows}")); 117 FILE_PATH_LITERAL("${windows}"));
115 CheckForSubstitution(FILE_PATH_LITERAL("//$C/${client_name}"), 118 CheckForSubstitution(FILE_PATH_LITERAL("//$C/${client_name}"),
116 FILE_PATH_LITERAL("${client_name}")); 119 FILE_PATH_LITERAL("${client_name}"));
117 CheckForSubstitution(FILE_PATH_LITERAL("//$C/${session_name}"), 120 CheckForSubstitution(FILE_PATH_LITERAL("//$C/${session_name}"),
118 FILE_PATH_LITERAL("${session_name}")); 121 FILE_PATH_LITERAL("${session_name}"));
119 } 122 }
120 123
121 #endif // OS_WIN 124 #endif // OS_WIN
122 125
123 } // namespace policy 126 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/policy_path_parser_mac.mm ('k') | chrome/browser/policy/policy_path_parser_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698