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

Side by Side Diff: chrome/browser/shell_integration_linux_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
« no previous file with comments | « chrome/browser/shell_integration_linux.cc ('k') | chrome/browser/shell_integration_win.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_linux.h" 5 #include "chrome/browser/shell_integration_linux.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 #include <cstdlib> 10 #include <cstdlib>
9 #include <map> 11 #include <map>
10 #include <vector> 12 #include <vector>
11 13
12 #include "base/base_paths.h" 14 #include "base/base_paths.h"
13 #include "base/command_line.h" 15 #include "base/command_line.h"
14 #include "base/environment.h" 16 #include "base/environment.h"
15 #include "base/files/file_path.h" 17 #include "base/files/file_path.h"
16 #include "base/files/file_util.h" 18 #include "base/files/file_util.h"
17 #include "base/files/scoped_temp_dir.h" 19 #include "base/files/scoped_temp_dir.h"
20 #include "base/macros.h"
18 #include "base/message_loop/message_loop.h" 21 #include "base/message_loop/message_loop.h"
19 #include "base/stl_util.h" 22 #include "base/stl_util.h"
20 #include "base/strings/string_util.h" 23 #include "base/strings/string_util.h"
21 #include "base/strings/utf_string_conversions.h" 24 #include "base/strings/utf_string_conversions.h"
22 #include "base/test/scoped_path_override.h" 25 #include "base/test/scoped_path_override.h"
23 #include "chrome/common/chrome_constants.h" 26 #include "chrome/common/chrome_constants.h"
24 #include "content/public/test/test_browser_thread.h" 27 #include "content/public/test/test_browser_thread.h"
25 #include "testing/gmock/include/gmock/gmock.h" 28 #include "testing/gmock/include/gmock/gmock.h"
26 #include "testing/gtest/include/gtest/gtest.h" 29 #include "testing/gtest/include/gtest/gtest.h"
27 #include "url/gurl.h" 30 #include "url/gurl.h"
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 648
646 for (size_t i = 0; i < arraysize(test_cases); i++) { 649 for (size_t i = 0; i < arraysize(test_cases); i++) {
647 SCOPED_TRACE(i); 650 SCOPED_TRACE(i);
648 EXPECT_EQ(test_cases[i].expected_output, 651 EXPECT_EQ(test_cases[i].expected_output,
649 GetDirectoryFileContents(base::ASCIIToUTF16(test_cases[i].title), 652 GetDirectoryFileContents(base::ASCIIToUTF16(test_cases[i].title),
650 test_cases[i].icon_name)); 653 test_cases[i].icon_name));
651 } 654 }
652 } 655 }
653 656
654 } // namespace shell_integration_linux 657 } // namespace shell_integration_linux
OLDNEW
« no previous file with comments | « chrome/browser/shell_integration_linux.cc ('k') | chrome/browser/shell_integration_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698