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

Side by Side Diff: base/mac/mac_util.mm

Issue 13374002: base: Update the include paths of base/string_piece.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/logging.cc ('k') | base/md5.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/mac/mac_util.h" 5 #include "base/mac/mac_util.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 #import <IOKit/IOKitLib.h> 8 #import <IOKit/IOKitLib.h>
9 9
10 #include <errno.h> 10 #include <errno.h>
11 #include <string.h> 11 #include <string.h>
12 #include <sys/utsname.h> 12 #include <sys/utsname.h>
13 #include <sys/xattr.h> 13 #include <sys/xattr.h>
14 14
15 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "base/mac/bundle_locations.h" 17 #include "base/mac/bundle_locations.h"
18 #include "base/mac/foundation_util.h" 18 #include "base/mac/foundation_util.h"
19 #include "base/mac/mac_logging.h" 19 #include "base/mac/mac_logging.h"
20 #include "base/mac/scoped_cftyperef.h" 20 #include "base/mac/scoped_cftyperef.h"
21 #include "base/memory/scoped_generic_obj.h" 21 #include "base/memory/scoped_generic_obj.h"
22 #include "base/memory/scoped_nsobject.h" 22 #include "base/memory/scoped_nsobject.h"
23 #include "base/string_piece.h"
24 #include "base/strings/string_number_conversions.h" 23 #include "base/strings/string_number_conversions.h"
24 #include "base/strings/string_piece.h"
25 #include "base/strings/sys_string_conversions.h" 25 #include "base/strings/sys_string_conversions.h"
26 26
27 namespace base { 27 namespace base {
28 namespace mac { 28 namespace mac {
29 29
30 namespace { 30 namespace {
31 31
32 // The current count of outstanding requests for full screen mode from browser 32 // The current count of outstanding requests for full screen mode from browser
33 // windows, plugins, etc. 33 // windows, plugins, etc.
34 int g_full_screen_requests[kNumFullScreenModes] = { 0 }; 34 int g_full_screen_requests[kNumFullScreenModes] = { 0 };
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 StringPiece(begin + comma_loc + 1, ident.end()), &minor_tmp)) 666 StringPiece(begin + comma_loc + 1, ident.end()), &minor_tmp))
667 return false; 667 return false;
668 *type = ident.substr(0, number_loc); 668 *type = ident.substr(0, number_loc);
669 *major = major_tmp; 669 *major = major_tmp;
670 *minor = minor_tmp; 670 *minor = minor_tmp;
671 return true; 671 return true;
672 } 672 }
673 673
674 } // namespace mac 674 } // namespace mac
675 } // namespace base 675 } // namespace base
OLDNEW
« no previous file with comments | « base/logging.cc ('k') | base/md5.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698