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

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

Issue 10451068: Fixing gcc 4.7 building problems. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Modified per Brett's comments Created 8 years, 6 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 <pwd.h> 5 #include <pwd.h>
6 #include <unistd.h>
Mattias Nissler (ping if slow) 2012/05/30 08:02:25 I guess this one is for geteuid? While you're at i
Han 2012/05/30 16:09:27 Yeah, right, both the headers are required for get
6 7
7 #include "chrome/browser/policy/policy_path_parser.h" 8 #include "chrome/browser/policy/policy_path_parser.h"
8 9
9 #include "base/logging.h" 10 #include "base/logging.h"
10 11
11 namespace policy { 12 namespace policy {
12 13
13 namespace path_parser { 14 namespace path_parser {
14 15
15 const char* kMachineNamePolicyVarName = "${machine_name}"; 16 const char* kMachineNamePolicyVarName = "${machine_name}";
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 } else { 48 } else {
48 LOG(ERROR) << "Machine name variable can not be resolved."; 49 LOG(ERROR) << "Machine name variable can not be resolved.";
49 } 50 }
50 } 51 }
51 return result; 52 return result;
52 } 53 }
53 54
54 } // namespace path_parser 55 } // namespace path_parser
55 56
56 } // namespace policy 57 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/extensions/settings/settings_frontend.cc ('k') | chrome/browser/search_engines/template_url_prepopulate_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698