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

Side by Side Diff: base/environment.cc

Issue 16745002: Use a direct include of strings headers in base/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | Annotate | Revision Log
« no previous file with comments | « base/debug/trace_event_unittest.cc ('k') | base/file_util.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/environment.h" 5 #include "base/environment.h"
6 6
7 #if defined(OS_POSIX) 7 #if defined(OS_POSIX)
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #elif defined(OS_WIN) 9 #elif defined(OS_WIN)
10 #include <windows.h> 10 #include <windows.h>
11 #endif 11 #endif
12 12
13 #include "base/string_util.h" 13 #include "base/strings/string_util.h"
14 14
15 #if defined(OS_WIN) 15 #if defined(OS_WIN)
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
18 #endif 18 #endif
19 19
20 namespace { 20 namespace {
21 21
22 class EnvironmentImpl : public base::Environment { 22 class EnvironmentImpl : public base::Environment {
23 public: 23 public:
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // static 118 // static
119 Environment* Environment::Create() { 119 Environment* Environment::Create() {
120 return new EnvironmentImpl(); 120 return new EnvironmentImpl();
121 } 121 }
122 122
123 bool Environment::HasVar(const char* variable_name) { 123 bool Environment::HasVar(const char* variable_name) {
124 return GetVar(variable_name, NULL); 124 return GetVar(variable_name, NULL);
125 } 125 }
126 126
127 } // namespace base 127 } // namespace base
OLDNEW
« no previous file with comments | « base/debug/trace_event_unittest.cc ('k') | base/file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698