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

Side by Side Diff: chrome/browser/web_applications/web_app_mac_unittest.mm

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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
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 #import "chrome/browser/web_applications/web_app_mac.h" 5 #import "chrome/browser/web_applications/web_app_mac.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 #include <errno.h> 8 #include <errno.h>
9 #include <stddef.h>
9 #include <sys/xattr.h> 10 #include <sys/xattr.h>
10 11
11 #include "base/command_line.h" 12 #include "base/command_line.h"
12 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
13 #include "base/files/scoped_temp_dir.h" 14 #include "base/files/scoped_temp_dir.h"
14 #include "base/mac/foundation_util.h" 15 #include "base/mac/foundation_util.h"
15 #include "base/mac/scoped_nsobject.h" 16 #include "base/mac/scoped_nsobject.h"
17 #include "base/macros.h"
16 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
17 #include "base/path_service.h" 19 #include "base/path_service.h"
18 #include "base/strings/sys_string_conversions.h" 20 #include "base/strings/sys_string_conversions.h"
19 #include "base/strings/utf_string_conversions.h" 21 #include "base/strings/utf_string_conversions.h"
20 #include "chrome/common/chrome_paths.h" 22 #include "chrome/common/chrome_paths.h"
21 #include "chrome/common/chrome_switches.h" 23 #include "chrome/common/chrome_switches.h"
22 #import "chrome/common/mac/app_mode_common.h" 24 #import "chrome/common/mac/app_mode_common.h"
23 #include "components/version_info/version_info.h" 25 #include "components/version_info/version_info.h"
24 #include "grit/theme_resources.h" 26 #include "grit/theme_resources.h"
25 #include "testing/gmock/include/gmock/gmock.h" 27 #include "testing/gmock/include/gmock/gmock.h"
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 [file_handler_1 objectForKey:app_mode::kCFBundleTypeRoleKey]); 389 [file_handler_1 objectForKey:app_mode::kCFBundleTypeRoleKey]);
388 NSArray* file_handler_1_extensions = 390 NSArray* file_handler_1_extensions =
389 [file_handler_1 objectForKey:app_mode::kCFBundleTypeExtensionsKey]; 391 [file_handler_1 objectForKey:app_mode::kCFBundleTypeExtensionsKey];
390 EXPECT_TRUE([file_handler_1_extensions containsObject:@"ext2"]); 392 EXPECT_TRUE([file_handler_1_extensions containsObject:@"ext2"]);
391 NSArray* file_handler_1_types = 393 NSArray* file_handler_1_types =
392 [file_handler_1 objectForKey:app_mode::kCFBundleTypeMIMETypesKey]; 394 [file_handler_1 objectForKey:app_mode::kCFBundleTypeMIMETypesKey];
393 EXPECT_TRUE([file_handler_1_types containsObject:@"type2"]); 395 EXPECT_TRUE([file_handler_1_types containsObject:@"type2"]);
394 } 396 }
395 397
396 } // namespace web_app 398 } // namespace web_app
OLDNEW
« no previous file with comments | « chrome/browser/web_applications/web_app_mac.mm ('k') | chrome/browser/web_applications/web_app_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698