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

Side by Side Diff: components/bookmarks/browser/bookmark_model_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/bookmarks/browser/bookmark_model.h" 5 #include "components/bookmarks/browser/bookmark_model.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <set> 10 #include <set>
8 #include <string> 11 #include <string>
9 12
10 #include "base/base_paths.h" 13 #include "base/base_paths.h"
11 #include "base/command_line.h" 14 #include "base/command_line.h"
12 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
13 #include "base/containers/hash_tables.h" 16 #include "base/containers/hash_tables.h"
17 #include "base/macros.h"
14 #include "base/strings/string16.h" 18 #include "base/strings/string16.h"
15 #include "base/strings/string_number_conversions.h" 19 #include "base/strings/string_number_conversions.h"
16 #include "base/strings/string_split.h" 20 #include "base/strings/string_split.h"
17 #include "base/strings/string_util.h" 21 #include "base/strings/string_util.h"
18 #include "base/strings/utf_string_conversions.h" 22 #include "base/strings/utf_string_conversions.h"
19 #include "base/time/time.h" 23 #include "base/time/time.h"
20 #include "components/bookmarks/browser/bookmark_model_observer.h" 24 #include "components/bookmarks/browser/bookmark_model_observer.h"
21 #include "components/bookmarks/browser/bookmark_undo_delegate.h" 25 #include "components/bookmarks/browser/bookmark_undo_delegate.h"
22 #include "components/bookmarks/browser/bookmark_utils.h" 26 #include "components/bookmarks/browser/bookmark_utils.h"
23 #include "components/bookmarks/test/bookmark_test_helpers.h" 27 #include "components/bookmarks/test/bookmark_test_helpers.h"
(...skipping 1366 matching lines...) Expand 10 before | Expand all | Expand 10 after
1390 std::set<GURL> changed_page_urls; 1394 std::set<GURL> changed_page_urls;
1391 changed_page_urls.insert(kPageURL1); 1395 changed_page_urls.insert(kPageURL1);
1392 model_->OnFaviconsChanged(changed_page_urls, kFaviconURL12); 1396 model_->OnFaviconsChanged(changed_page_urls, kFaviconURL12);
1393 ASSERT_EQ(2u, updated_nodes_.size()); 1397 ASSERT_EQ(2u, updated_nodes_.size());
1394 EXPECT_TRUE(WasNodeUpdated(node1)); 1398 EXPECT_TRUE(WasNodeUpdated(node1));
1395 EXPECT_TRUE(WasNodeUpdated(node2)); 1399 EXPECT_TRUE(WasNodeUpdated(node2));
1396 } 1400 }
1397 } 1401 }
1398 1402
1399 } // namespace bookmarks 1403 } // namespace bookmarks
OLDNEW
« no previous file with comments | « components/bookmarks/browser/bookmark_model.cc ('k') | components/bookmarks/browser/bookmark_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698