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_utils_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_utils.h" 5 #include "components/bookmarks/browser/bookmark_utils.h"
6 6
7 #include <stddef.h>
8
7 #include <vector> 9 #include <vector>
8 10
11 #include "base/macros.h"
9 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
10 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "build/build_config.h"
11 #include "components/bookmarks/browser/base_bookmark_model_observer.h" 15 #include "components/bookmarks/browser/base_bookmark_model_observer.h"
12 #include "components/bookmarks/browser/bookmark_model.h" 16 #include "components/bookmarks/browser/bookmark_model.h"
13 #include "components/bookmarks/browser/bookmark_node_data.h" 17 #include "components/bookmarks/browser/bookmark_node_data.h"
14 #include "components/bookmarks/test/test_bookmark_client.h" 18 #include "components/bookmarks/test/test_bookmark_client.h"
15 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
16 #include "ui/base/clipboard/clipboard.h" 20 #include "ui/base/clipboard/clipboard.h"
17 #include "ui/base/clipboard/scoped_clipboard_writer.h" 21 #include "ui/base/clipboard/scoped_clipboard_writer.h"
18 22
19 using base::ASCIIToUTF16; 23 using base::ASCIIToUTF16;
20 using std::string; 24 using std::string;
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 model->GetNodesByURL(url, &nodes); 608 model->GetNodesByURL(url, &nodes);
605 ASSERT_EQ(1u, nodes.size()); 609 ASSERT_EQ(1u, nodes.size());
606 EXPECT_TRUE(model->bookmark_bar_node()->empty()); 610 EXPECT_TRUE(model->bookmark_bar_node()->empty());
607 EXPECT_TRUE(model->other_node()->empty()); 611 EXPECT_TRUE(model->other_node()->empty());
608 EXPECT_TRUE(model->mobile_node()->empty()); 612 EXPECT_TRUE(model->mobile_node()->empty());
609 EXPECT_EQ(1, extra_node->child_count()); 613 EXPECT_EQ(1, extra_node->child_count());
610 } 614 }
611 615
612 } // namespace 616 } // namespace
613 } // namespace bookmarks 617 } // namespace bookmarks
OLDNEW
« no previous file with comments | « components/bookmarks/browser/bookmark_utils.cc ('k') | components/bookmarks/common/android/component_jni_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698