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

Side by Side Diff: chrome/browser/ui/cocoa/applescript/bookmark_applescript_utils_unittest.h

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, 6 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_UI_COCOA_APPLESCRIPT_BOOKMARK_APPLESCRIPT_UTILS_UNITTEST_ H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_APPLESCRIPT_BOOKMARK_APPLESCRIPT_UTILS_UNITTEST_ H_
6 #define CHROME_BROWSER_UI_COCOA_APPLESCRIPT_BOOKMARK_APPLESCRIPT_UTILS_UNITTEST_ H_ 6 #define CHROME_BROWSER_UI_COCOA_APPLESCRIPT_BOOKMARK_APPLESCRIPT_UTILS_UNITTEST_ H_
7 7
8 #import <Cocoa/Cocoa.h>
8 #import <objc/objc-runtime.h> 9 #import <objc/objc-runtime.h>
9 #import <Cocoa/Cocoa.h>
10 10
11 #include "base/memory/scoped_nsobject.h" 11 #include "base/mac/scoped_nsobject.h"
12 #import "chrome/browser/app_controller_mac.h" 12 #import "chrome/browser/app_controller_mac.h"
13 #import "chrome/browser/ui/cocoa/applescript/bookmark_folder_applescript.h" 13 #import "chrome/browser/ui/cocoa/applescript/bookmark_folder_applescript.h"
14 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" 14 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h"
15 #include "testing/platform_test.h" 15 #include "testing/platform_test.h"
16 16
17 class BookmarkModel; 17 class BookmarkModel;
18 18
19 // The fake object that acts as our app's delegate, useful for testing purposes. 19 // The fake object that acts as our app's delegate, useful for testing purposes.
20 @interface FakeAppDelegate : AppController { 20 @interface FakeAppDelegate : AppController {
21 @public 21 @public
(...skipping 13 matching lines...) Expand all
35 @end 35 @end
36 36
37 37
38 // The base class for all our bookmark releated unit tests. 38 // The base class for all our bookmark releated unit tests.
39 class BookmarkAppleScriptTest : public CocoaProfileTest { 39 class BookmarkAppleScriptTest : public CocoaProfileTest {
40 public: 40 public:
41 BookmarkAppleScriptTest(); 41 BookmarkAppleScriptTest();
42 virtual ~BookmarkAppleScriptTest(); 42 virtual ~BookmarkAppleScriptTest();
43 virtual void SetUp() OVERRIDE; 43 virtual void SetUp() OVERRIDE;
44 private: 44 private:
45 scoped_nsobject<FakeAppDelegate> appDelegate_; 45 base::scoped_nsobject<FakeAppDelegate> appDelegate_;
46
46 protected: 47 protected:
47 scoped_nsobject<BookmarkFolderAppleScript> bookmarkBar_; 48 base::scoped_nsobject<BookmarkFolderAppleScript> bookmarkBar_;
48 }; 49 };
49 50
50 #endif // CHROME_BROWSER_UI_COCOA_APPLESCRIPT_BOOKMARK_APPLESCRIPT_UTILS_UNITTE ST_H_ 51 #endif // CHROME_BROWSER_UI_COCOA_APPLESCRIPT_BOOKMARK_APPLESCRIPT_UTILS_UNITTE ST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698