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

Side by Side Diff: chrome_frame/test/net/fake_external_tab.h

Issue 4945001: Disable the chrome frame net tests on IE9 as the IE9 fails to connect at time... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 | « no previous file | chrome_frame/test/net/fake_external_tab.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) 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 #ifndef CHROME_FRAME_TEST_NET_FAKE_EXTERNAL_TAB_H_ 5 #ifndef CHROME_FRAME_TEST_NET_FAKE_EXTERNAL_TAB_H_
6 #define CHROME_FRAME_TEST_NET_FAKE_EXTERNAL_TAB_H_ 6 #define CHROME_FRAME_TEST_NET_FAKE_EXTERNAL_TAB_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual void OnConnectAutomationProviderToChannel( 66 virtual void OnConnectAutomationProviderToChannel(
67 const std::string& channel_id); 67 const std::string& channel_id);
68 68
69 // TestAutomationProviderDelegate. 69 // TestAutomationProviderDelegate.
70 virtual void OnInitialTabLoaded(); 70 virtual void OnInitialTabLoaded();
71 71
72 void RunMainUIThread(); 72 void RunMainUIThread();
73 73
74 void StartTests(); 74 void StartTests();
75 75
76 // Borrowed from TestSuite::Initialize().
77 static void InitializeLogging();
78
76 protected: 79 protected:
77 // This is the thread that runs all the UrlRequest tests. 80 // This is the thread that runs all the UrlRequest tests.
78 // Within its context, the Initialize() and Shutdown() routines above 81 // Within its context, the Initialize() and Shutdown() routines above
79 // will be called. 82 // will be called.
80 static DWORD WINAPI RunAllUnittests(void* param); 83 static DWORD WINAPI RunAllUnittests(void* param);
81 84
82 static void TakeDownBrowser(CFUrlRequestUnittestRunner* me); 85 static void TakeDownBrowser(CFUrlRequestUnittestRunner* me);
83 86
84 protected: 87 protected:
85 // Borrowed from TestSuite::Initialize().
86 void InitializeLogging();
87 88
88 protected: 89 protected:
89 ScopedHandle test_thread_; 90 ScopedHandle test_thread_;
90 DWORD test_thread_id_; 91 DWORD test_thread_id_;
91 92
92 scoped_ptr<test_server::SimpleWebServer> test_http_server_; 93 scoped_ptr<test_server::SimpleWebServer> test_http_server_;
93 test_server::SimpleResponse chrome_frame_html_; 94 test_server::SimpleResponse chrome_frame_html_;
94 95
95 // The fake chrome instance. This instance owns the UI message loop 96 // The fake chrome instance. This instance owns the UI message loop
96 // on the main thread. 97 // on the main thread.
97 FakeExternalTab fake_chrome_; 98 FakeExternalTab fake_chrome_;
98 scoped_ptr<ProcessSingletonSubclass> pss_subclass_; 99 scoped_ptr<ProcessSingletonSubclass> pss_subclass_;
99 scoped_ptr<BrowserThread> main_thread_; 100 scoped_ptr<BrowserThread> main_thread_;
100 }; 101 };
101 102
102 #endif // CHROME_FRAME_TEST_NET_FAKE_EXTERNAL_TAB_H_ 103 #endif // CHROME_FRAME_TEST_NET_FAKE_EXTERNAL_TAB_H_
OLDNEW
« no previous file with comments | « no previous file | chrome_frame/test/net/fake_external_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698