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

Side by Side Diff: chrome/browser/cocoa/bug_report_window_controller_unittest.mm

Issue 3129007: FBTF: Forward declare everything possible in testing_profile.h (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: argh mac problems now Created 10 years, 4 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 (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/ref_counted.h" 7 #include "base/ref_counted.h"
8 #import "chrome/browser/cocoa/bug_report_window_controller.h" 8 #import "chrome/browser/cocoa/bug_report_window_controller.h"
9 #include "chrome/browser/chrome_thread.h"
9 #include "chrome/browser/renderer_host/site_instance.h" 10 #include "chrome/browser/renderer_host/site_instance.h"
10 #include "chrome/browser/renderer_host/test/test_render_view_host.h" 11 #include "chrome/browser/renderer_host/test/test_render_view_host.h"
11 #include "chrome/browser/tab_contents/test_tab_contents.h" 12 #include "chrome/browser/tab_contents/test_tab_contents.h"
12 #include "chrome/browser/profile.h" 13 #include "chrome/browser/profile.h"
13 #import "testing/gtest_mac.h" 14 #import "testing/gtest_mac.h"
14 15
15 namespace { 16 namespace {
16 17
17 class BugReportWindowControllerUnittest : public RenderViewHostTestHarness { 18 class BugReportWindowControllerUnittest : public RenderViewHostTestHarness {
18 }; 19 };
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // that don't refer to a specific page should be available, and the send 68 // that don't refer to a specific page should be available, and the send
68 // screenshot option should be turned off. 69 // screenshot option should be turned off.
69 EXPECT_EQ([[controller bugTypeList] count], 4U); 70 EXPECT_EQ([[controller bugTypeList] count], 4U);
70 EXPECT_FALSE([controller sendScreenshot]); 71 EXPECT_FALSE([controller sendScreenshot]);
71 72
72 [controller release]; 73 [controller release];
73 } 74 }
74 75
75 } // namespace 76 } // namespace
76 77
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698