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

Side by Side Diff: ios/chrome/browser/ui/bookmarks/bookmark_utils_ios_unittest.mm

Issue 2770693003: Add missing .h files to .gn files that have a .cc file next to it in the gn file already. (Closed)
Patch Set: rebase Created 3 years, 9 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 | « ios/chrome/browser/ui/bookmarks/BUILD.gn ('k') | media/cast/BUILD.gn » ('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 #import "ios/chrome/browser/ui/bookmarks/bookmark_utils_ios.h"
6
5 #include <memory> 7 #include <memory>
6 #include <vector> 8 #include <vector>
7 9
8 #include "base/strings/sys_string_conversions.h" 10 #include "base/strings/sys_string_conversions.h"
9 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
10 #include "base/time/time.h" 12 #include "base/time/time.h"
11 #include "components/bookmarks/browser/bookmark_model.h" 13 #include "components/bookmarks/browser/bookmark_model.h"
12 #include "ios/chrome/browser/experimental_flags.h" 14 #include "ios/chrome/browser/experimental_flags.h"
13 #include "ios/chrome/browser/ui/bookmarks/bookmark_ios_unittest.h" 15 #include "ios/chrome/browser/ui/bookmarks/bookmark_ios_unittest.h"
14 #import "ios/chrome/browser/ui/bookmarks/bookmark_menu_item.h" 16 #import "ios/chrome/browser/ui/bookmarks/bookmark_menu_item.h"
15 #import "ios/chrome/browser/ui/bookmarks/bookmark_utils_ios.h"
16 #include "testing/gtest_mac.h" 17 #include "testing/gtest_mac.h"
17 18
18 #if !defined(__has_feature) || !__has_feature(objc_arc) 19 #if !defined(__has_feature) || !__has_feature(objc_arc)
19 #error "This file requires ARC support." 20 #error "This file requires ARC support."
20 #endif 21 #endif
21 22
22 using bookmarks::BookmarkNode; 23 using bookmarks::BookmarkNode;
23 24
24 namespace { 25 namespace {
25 26
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 vector1.push_back(bookmark1); 392 vector1.push_back(bookmark1);
392 vector2.insert(vector2.begin(), bookmark1); 393 vector2.insert(vector2.begin(), bookmark1);
393 missingNodesIndices = 394 missingNodesIndices =
394 bookmark_utils_ios::MissingNodesIndices(vector1, vector2); 395 bookmark_utils_ios::MissingNodesIndices(vector1, vector2);
395 EXPECT_EQ(2u, missingNodesIndices.size()); 396 EXPECT_EQ(2u, missingNodesIndices.size());
396 EXPECT_EQ(2u, missingNodesIndices[0]); 397 EXPECT_EQ(2u, missingNodesIndices[0]);
397 EXPECT_EQ(3u, missingNodesIndices[1]); 398 EXPECT_EQ(3u, missingNodesIndices[1]);
398 } 399 }
399 400
400 } // namespace 401 } // namespace
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/bookmarks/BUILD.gn ('k') | media/cast/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698