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

Side by Side Diff: chrome/browser/renderer_host/test/test_render_view_host.h

Issue 3187013: Merge 54867 - ChromeFrame currently overrides the request context for interce... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: 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 | Annotate | Revision Log
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_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 } 168 }
169 169
170 // Returns whether the RenderViewHost is currently waiting to hear the result 170 // Returns whether the RenderViewHost is currently waiting to hear the result
171 // of a before unload handler from the renderer. 171 // of a before unload handler from the renderer.
172 bool is_waiting_for_beforeunload_ack() const { 172 bool is_waiting_for_beforeunload_ack() const {
173 return is_waiting_for_beforeunload_ack_; 173 return is_waiting_for_beforeunload_ack_;
174 } 174 }
175 175
176 // RenderViewHost overrides -------------------------------------------------- 176 // RenderViewHost overrides --------------------------------------------------
177 177
178 virtual bool CreateRenderView(URLRequestContextGetter* request_context, 178 virtual bool CreateRenderView(const string16& frame_name);
179 const string16& frame_name);
180 virtual bool IsRenderViewLive() const; 179 virtual bool IsRenderViewLive() const;
181 180
182 private: 181 private:
183 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, FilterNavigate); 182 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, FilterNavigate);
184 183
185 // Tracks if the caller thinks if it created the RenderView. This is so we can 184 // Tracks if the caller thinks if it created the RenderView. This is so we can
186 // respond to IsRenderViewLive appropriately. 185 // respond to IsRenderViewLive appropriately.
187 bool render_view_created_; 186 bool render_view_created_;
188 187
189 // See set_delete_counter() above. May be NULL. 188 // See set_delete_counter() above. May be NULL.
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 301
303 MockRenderProcessHostFactory rph_factory_; 302 MockRenderProcessHostFactory rph_factory_;
304 TestRenderViewHostFactory rvh_factory_; 303 TestRenderViewHostFactory rvh_factory_;
305 304
306 scoped_ptr<TestTabContents> contents_; 305 scoped_ptr<TestTabContents> contents_;
307 306
308 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); 307 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);
309 }; 308 };
310 309
311 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 310 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/resource_message_filter.cc ('k') | chrome/browser/renderer_host/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698