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

Side by Side Diff: chrome/utility/importer/bookmark_html_reader_unittest.cc

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
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/utility/importer/bookmark_html_reader.h" 5 #include "chrome/utility/importer/bookmark_html_reader.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
9 #include "base/callback.h" 11 #include "base/callback.h"
10 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/macros.h"
11 #include "base/path_service.h" 14 #include "base/path_service.h"
12 #include "base/strings/string16.h" 15 #include "base/strings/string16.h"
13 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
14 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
15 #include "chrome/common/chrome_paths.h" 18 #include "chrome/common/chrome_paths.h"
16 #include "chrome/common/importer/imported_bookmark_entry.h" 19 #include "chrome/common/importer/imported_bookmark_entry.h"
17 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
18 21
19 using base::ASCIIToUTF16; 22 using base::ASCIIToUTF16;
20 using base::UTF16ToWide; 23 using base::UTF16ToWide;
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 ImportBookmarksFile(base::Callback<bool(void)>(), 409 ImportBookmarksFile(base::Callback<bool(void)>(),
407 base::Bind(&IsURLValid), 410 base::Bind(&IsURLValid),
408 path, &bookmarks, NULL, NULL); 411 path, &bookmarks, NULL, NULL);
409 412
410 ASSERT_EQ(2U, bookmarks.size()); 413 ASSERT_EQ(2U, bookmarks.size());
411 ExpectFirstFirefox2Bookmark(bookmarks[0]); 414 ExpectFirstFirefox2Bookmark(bookmarks[0]);
412 ExpectThirdFirefox2Bookmark(bookmarks[1]); 415 ExpectThirdFirefox2Bookmark(bookmarks[1]);
413 } 416 }
414 417
415 } // namespace bookmark_html_reader 418 } // namespace bookmark_html_reader
OLDNEW
« no previous file with comments | « chrome/utility/importer/bookmark_html_reader.cc ('k') | chrome/utility/importer/bookmarks_file_importer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698