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

Side by Side Diff: chrome/browser/shell_integration_win_unittest.cc

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 #include "chrome/browser/shell_integration.h" 5 #include "chrome/browser/shell_integration.h"
6 6
7 #include <stddef.h>
8
7 #include <vector> 9 #include <vector>
8 10
9 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
10 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
11 #include "base/files/scoped_temp_dir.h" 13 #include "base/files/scoped_temp_dir.h"
12 #include "base/macros.h" 14 #include "base/macros.h"
13 #include "base/strings/string16.h" 15 #include "base/strings/string16.h"
14 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
16 #include "base/test/test_shortcut_win.h" 18 #include "base/test/test_shortcut_win.h"
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 default_profile_path)); 422 default_profile_path));
421 423
422 // Non-default profile path should get chrome::kBrowserAppID + AppList joined 424 // Non-default profile path should get chrome::kBrowserAppID + AppList joined
423 // with profile info. 425 // with profile info.
424 base::FilePath profile_path(FILE_PATH_LITERAL("root")); 426 base::FilePath profile_path(FILE_PATH_LITERAL("root"));
425 profile_path = profile_path.Append(FILE_PATH_LITERAL("udd")); 427 profile_path = profile_path.Append(FILE_PATH_LITERAL("udd"));
426 profile_path = profile_path.Append(FILE_PATH_LITERAL("User Data - Test")); 428 profile_path = profile_path.Append(FILE_PATH_LITERAL("User Data - Test"));
427 EXPECT_EQ(base_app_id + L".udd.UserDataTest", 429 EXPECT_EQ(base_app_id + L".udd.UserDataTest",
428 ShellIntegration::GetAppListAppModelIdForProfile(profile_path)); 430 ShellIntegration::GetAppListAppModelIdForProfile(profile_path));
429 } 431 }
OLDNEW
« no previous file with comments | « chrome/browser/shell_integration_win.cc ('k') | chrome/browser/signin/account_fetcher_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698