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

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

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « chrome/common/chrome_paths_linux.cc ('k') | chrome/common/chrome_paths_unittest.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) 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_paths_internal.h" 5 #include "chrome/common/chrome_paths_internal.h"
6 6
7 #import <Foundation/Foundation.h> 7 #import <Foundation/Foundation.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/base_paths.h" 12 #include "base/base_paths.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #import "base/mac/foundation_util.h" 14 #import "base/mac/foundation_util.h"
15 #import "base/mac/scoped_nsautorelease_pool.h" 15 #import "base/mac/scoped_nsautorelease_pool.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/path_service.h" 17 #include "base/path_service.h"
18 #include "build/build_config.h"
18 #include "chrome/common/chrome_constants.h" 19 #include "chrome/common/chrome_constants.h"
19 20
20 namespace { 21 namespace {
21 22
22 #if !defined(OS_IOS) 23 #if !defined(OS_IOS)
23 const base::FilePath* g_override_versioned_directory = NULL; 24 const base::FilePath* g_override_versioned_directory = NULL;
24 25
25 // Return a retained (NOT autoreleased) NSBundle* as the internal 26 // Return a retained (NOT autoreleased) NSBundle* as the internal
26 // implementation of chrome::OuterAppBundle(), which should be the only 27 // implementation of chrome::OuterAppBundle(), which should be the only
27 // caller. 28 // caller.
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 244
244 #endif // !defined(OS_IOS) 245 #endif // !defined(OS_IOS)
245 246
246 bool ProcessNeedsProfileDir(const std::string& process_type) { 247 bool ProcessNeedsProfileDir(const std::string& process_type) {
247 // For now we have no reason to forbid this on other MacOS as we don't 248 // For now we have no reason to forbid this on other MacOS as we don't
248 // have the roaming profile troubles there. 249 // have the roaming profile troubles there.
249 return true; 250 return true;
250 } 251 }
251 252
252 } // namespace chrome 253 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/chrome_paths_linux.cc ('k') | chrome/common/chrome_paths_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698