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

Side by Side Diff: chrome_frame/external_tab_test.cc

Issue 4758001: Part 2 of reapplying r64637. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Window recompile after rebase? Created 10 years, 1 month 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
« no previous file with comments | « chrome_frame/external_tab.cc ('k') | chrome_frame/plugin_url_request.cc » ('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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome_frame/external_tab.h" 5 #include "chrome_frame/external_tab.h"
6 #include "base/task.h" 6 #include "base/task.h"
7 #include "base/thread.h" 7 #include "base/thread.h"
8 #include "base/tracked.h" 8 #include "base/tracked.h"
9 9
10 // #include "base/waitable_event.h" 10 // #include "base/waitable_event.h"
11 11
12 #include "chrome/test/automation/automation_messages.h" 12 #include "chrome/common/automation_messages.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
15 #include "testing/gmock_mutant.h" 15 #include "testing/gmock_mutant.h"
16 #include "chrome_frame/test/chrome_frame_test_utils.h" 16 #include "chrome_frame/test/chrome_frame_test_utils.h"
17 17
18 18
19 19
20 // DISABLE_RUNNABLE_METHOD_REFCOUNT(ExternalTabProxy); 20 // DISABLE_RUNNABLE_METHOD_REFCOUNT(ExternalTabProxy);
21 // DISABLE_RUNNABLE_METHOD_REFCOUNT(UIDelegate); 21 // DISABLE_RUNNABLE_METHOD_REFCOUNT(UIDelegate);
22 DISABLE_RUNNABLE_METHOD_REFCOUNT(ChromeProxyDelegate); 22 DISABLE_RUNNABLE_METHOD_REFCOUNT(ChromeProxyDelegate);
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 tab_params.is_widget_mode = false; 236 tab_params.is_widget_mode = false;
237 tab_params.url = initial_url; 237 tab_params.url = initial_url;
238 238
239 tab->CreateTab(tab_params, &ui_delegate); 239 tab->CreateTab(tab_params, &ui_delegate);
240 tab->Navigate("http://asgard.org", EmptyString(), true); 240 tab->Navigate("http://asgard.org", EmptyString(), true);
241 241
242 loop.RunFor(5); 242 loop.RunFor(5);
243 EXPECT_FALSE(loop.WasTimedOut()); 243 EXPECT_FALSE(loop.WasTimedOut());
244 tab.reset(); 244 tab.reset();
245 } 245 }
OLDNEW
« no previous file with comments | « chrome_frame/external_tab.cc ('k') | chrome_frame/plugin_url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698