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

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

Issue 333043: If a HTTP post to a server returns any redirect code other than 307, then bro... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
Property Changes:
Added: svn:eol-style
+ LF
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"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 12
13 #include "chrome/app/scoped_ole_initializer.h" 13 #include "chrome/app/scoped_ole_initializer.h"
14 #include "chrome/browser/browser_process_impl.h" 14 #include "chrome/browser/browser_process_impl.h"
15 15 #include "chrome/browser/chrome_thread.h"
16 #include "chrome_frame/test/test_server.h" 16 #include "chrome_frame/test/test_server.h"
17 #include "chrome_frame/test/net/test_automation_provider.h" 17 #include "chrome_frame/test/net/test_automation_provider.h"
18 #include "chrome_frame/test/net/process_singleton_subclass.h" 18 #include "chrome_frame/test/net/process_singleton_subclass.h"
19 19
20 #include "net/base/net_test_suite.h" 20 #include "net/base/net_test_suite.h"
21 21
22 class ProcessSingleton; 22 class ProcessSingleton;
23 23
24 class FakeExternalTab { 24 class FakeExternalTab {
25 public: 25 public:
26 FakeExternalTab(); 26 FakeExternalTab();
27 ~FakeExternalTab(); 27 ~FakeExternalTab();
28 28
29 virtual std::wstring GetProfileName(); 29 virtual std::wstring GetProfileName();
30 30
31 virtual std::wstring GetProfilePath(); 31 virtual std::wstring GetProfilePath();
32 virtual void Initialize(); 32 virtual void Initialize();
33 virtual void Shutdown(); 33 virtual void Shutdown();
34 34
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 DWORD test_thread_id_; 94 DWORD test_thread_id_;
95 scoped_ptr<MessageLoop> test_thread_message_loop_; 95 scoped_ptr<MessageLoop> test_thread_message_loop_;
96 96
97 scoped_ptr<test_server::SimpleWebServer> test_http_server_; 97 scoped_ptr<test_server::SimpleWebServer> test_http_server_;
98 test_server::SimpleResponse chrome_frame_html_; 98 test_server::SimpleResponse chrome_frame_html_;
99 99
100 // The fake chrome instance. This instance owns the UI message loop 100 // The fake chrome instance. This instance owns the UI message loop
101 // on the main thread. 101 // on the main thread.
102 FakeExternalTab fake_chrome_; 102 FakeExternalTab fake_chrome_;
103 scoped_ptr<ProcessSingletonSubclass> pss_subclass_; 103 scoped_ptr<ProcessSingletonSubclass> pss_subclass_;
104 scoped_ptr<ChromeThread> main_thread_;
104 }; 105 };
105 106
106 #endif // CHROME_FRAME_TEST_NET_FAKE_EXTERNAL_TAB_H_ 107 #endif // CHROME_FRAME_TEST_NET_FAKE_EXTERNAL_TAB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698