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

Side by Side Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa_unittest.mm

Issue 17593006: mac: Update clients of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwyu, scoped_nsprotocol Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "base/memory/scoped_nsobject.h" 7 #include "base/mac/scoped_nsobject.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 10 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
11 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h" 11 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h"
12 #import "chrome/browser/ui/cocoa/cocoa_profile_test.h" 12 #import "chrome/browser/ui/cocoa/cocoa_profile_test.h"
13 13
14 namespace { 14 namespace {
15 15
16 class BookmarkModelObserverForCocoaTest : public CocoaProfileTest { 16 class BookmarkModelObserverForCocoaTest : public CocoaProfileTest {
17 }; 17 };
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 model->Move(node, model->other_node(), 0); 52 model->Move(node, model->other_node(), 0);
53 EXPECT_EQ(3U, pings); 53 EXPECT_EQ(3U, pings);
54 EXPECT_EQ(0U, deletions); 54 EXPECT_EQ(0U, deletions);
55 55
56 model->Remove(node->parent(), 0); 56 model->Remove(node->parent(), 0);
57 EXPECT_EQ(4U, pings); 57 EXPECT_EQ(4U, pings);
58 EXPECT_EQ(1U, deletions); 58 EXPECT_EQ(1U, deletions);
59 } 59 }
60 60
61 } // namespace 61 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698