OLD | NEW |
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 CLOUD_PRINT_SERVICE_SERVICE_UTILS_H_ | 5 #ifndef CLOUD_PRINT_SERVICE_SERVICE_UTILS_H_ |
6 #define CLOUD_PRINT_SERVICE_SERVICE_UTILS_H_ | 6 #define CLOUD_PRINT_SERVICE_SERVICE_UTILS_H_ |
7 | 7 |
| 8 #include "base/strings/string16.h" |
| 9 |
| 10 namespace base { |
8 class CommandLine; | 11 class CommandLine; |
9 | 12 } |
10 #include "base/strings/string16.h" | |
11 | 13 |
12 base::string16 ReplaceLocalHostInName(const base::string16& user_name); | 14 base::string16 ReplaceLocalHostInName(const base::string16& user_name); |
13 base::string16 GetCurrentUserName(); | 15 base::string16 GetCurrentUserName(); |
14 void CopyChromeSwitchesFromCurrentProcess(CommandLine* destination); | 16 void CopyChromeSwitchesFromCurrentProcess(base::CommandLine* destination); |
15 | 17 |
16 #endif // CLOUD_PRINT_SERVICE_SERVICE_UTILS_H_ | 18 #endif // CLOUD_PRINT_SERVICE_SERVICE_UTILS_H_ |
17 | 19 |
OLD | NEW |