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

Side by Side Diff: base/environment.cc

Issue 6410105: run iwyu on base! Base URL: svn://svn.chromium.org/chrome/trunk/src/base
Patch Set: Created 9 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « base/debug/trace_event.cc ('k') | base/file_descriptor_shuffle.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <string>
6
5 #include "base/environment.h" 7 #include "base/environment.h"
8 #include "build/build_config.h"
6 9
7 #if defined(OS_POSIX) 10 #if defined(OS_POSIX)
8 #include <stdlib.h> 11 #include <stdlib.h>
9 #elif defined(OS_WIN) 12 #elif defined(OS_WIN)
10 #include <windows.h> 13 #include <windows.h>
11 #endif 14 #endif
12 15
13 #include "base/string_util.h" 16 #include "base/string_util.h"
14 17
15 #if defined(OS_WIN) 18 #if defined(OS_WIN)
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // static 119 // static
117 Environment* Environment::Create() { 120 Environment* Environment::Create() {
118 return new EnvironmentImpl(); 121 return new EnvironmentImpl();
119 } 122 }
120 123
121 bool Environment::HasVar(const char* variable_name) { 124 bool Environment::HasVar(const char* variable_name) {
122 return GetVar(variable_name, NULL); 125 return GetVar(variable_name, NULL);
123 } 126 }
124 127
125 } // namespace base 128 } // namespace base
OLDNEW
« no previous file with comments | « base/debug/trace_event.cc ('k') | base/file_descriptor_shuffle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698