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

Side by Side Diff: base/file_version_info_mac.mm

Issue 3176026: FBTF: Remove unneeded headers from base/ (part 7) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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/file_util_unittest.cc ('k') | base/lock_impl_win.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) 2006-2008 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 "base/file_version_info_mac.h" 5 #include "base/file_version_info_mac.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #include "base/basictypes.h"
9 #include "base/file_path.h" 10 #include "base/file_path.h"
10 #include "base/logging.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 13
14 FileVersionInfoMac::FileVersionInfoMac(NSBundle *bundle) : bundle_(bundle) { 14 FileVersionInfoMac::FileVersionInfoMac(NSBundle *bundle) : bundle_(bundle) {
15 [bundle_ retain]; 15 [bundle_ retain];
16 } 16 }
17 17
18 FileVersionInfoMac::~FileVersionInfoMac() { 18 FileVersionInfoMac::~FileVersionInfoMac() {
19 [bundle_ release]; 19 [bundle_ release];
20 } 20 }
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 } 124 }
125 return false; 125 return false;
126 } 126 }
127 127
128 std::wstring FileVersionInfoMac::GetStringValue(const wchar_t* name) { 128 std::wstring FileVersionInfoMac::GetStringValue(const wchar_t* name) {
129 std::wstring str; 129 std::wstring str;
130 if (GetValue(name, &str)) 130 if (GetValue(name, &str))
131 return str; 131 return str;
132 return std::wstring(); 132 return std::wstring();
133 } 133 }
OLDNEW
« no previous file with comments | « base/file_util_unittest.cc ('k') | base/lock_impl_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698