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

Side by Side Diff: chrome/common/chrome_version_info_mac.mm

Issue 11418005: Get a minimal unit_tests target building and running for iOS (Closed) Base URL: http://git.chromium.org/chromium/src.git@chrome-gyp-ios-support
Patch Set: Better ifdefing in chrome_paths Created 8 years, 1 month 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
« no previous file with comments | « chrome/common/chrome_paths_mac.mm ('k') | chrome/common_constants.gyp » ('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 "chrome/common/chrome_version_info.h" 5 #include "chrome/common/chrome_version_info.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Foundation/Foundation.h>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/mac/bundle_locations.h" 10 #include "base/mac/bundle_locations.h"
11 #include "base/sys_string_conversions.h" 11 #include "base/sys_string_conversions.h"
12 12
13 namespace chrome { 13 namespace chrome {
14 14
15 // static 15 // static
16 std::string VersionInfo::GetVersionStringModifier() { 16 std::string VersionInfo::GetVersionStringModifier() {
17 #if defined(GOOGLE_CHROME_BUILD) 17 #if defined(GOOGLE_CHROME_BUILD)
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 return CHANNEL_DEV; 54 return CHANNEL_DEV;
55 } else if (channel == "canary") { 55 } else if (channel == "canary") {
56 return CHANNEL_CANARY; 56 return CHANNEL_CANARY;
57 } 57 }
58 #endif 58 #endif
59 59
60 return CHANNEL_UNKNOWN; 60 return CHANNEL_UNKNOWN;
61 } 61 }
62 62
63 } // namespace chrome 63 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/chrome_paths_mac.mm ('k') | chrome/common_constants.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698