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

Side by Side Diff: chrome/renderer/safe_browsing/render_view_fake_resources_test.cc

Issue 6878002: Move renderer_main and renderer_glue to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
« no previous file with comments | « chrome/renderer/renderer_main_platform_delegate_win.cc ('k') | chrome/test/render_view_test.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/renderer/safe_browsing/render_view_fake_resources_test.h" 5 #include "chrome/renderer/safe_browsing/render_view_fake_resources_test.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/process.h" 10 #include "base/process.h"
11 #include "base/shared_memory.h" 11 #include "base/shared_memory.h"
12 #include "chrome/common/render_messages.h" 12 #include "chrome/common/render_messages.h"
13 #include "chrome/renderer/mock_render_process.h" 13 #include "chrome/renderer/mock_render_process.h"
14 #include "chrome/renderer/renderer_main_platform_delegate.h"
15 #include "content/common/dom_storage_common.h" 14 #include "content/common/dom_storage_common.h"
16 #include "content/common/main_function_params.h" 15 #include "content/common/main_function_params.h"
17 #include "content/common/resource_messages.h" 16 #include "content/common/resource_messages.h"
18 #include "content/common/resource_response.h" 17 #include "content/common/resource_response.h"
19 #include "content/common/sandbox_init_wrapper.h" 18 #include "content/common/sandbox_init_wrapper.h"
20 #include "content/common/view_messages.h" 19 #include "content/common/view_messages.h"
21 #include "content/renderer/render_thread.h" 20 #include "content/renderer/render_thread.h"
22 #include "content/renderer/render_view.h" 21 #include "content/renderer/render_view.h"
22 #include "content/renderer/renderer_main_platform_delegate.h"
23 #include "googleurl/src/gurl.h" 23 #include "googleurl/src/gurl.h"
24 #include "net/base/upload_data.h" 24 #include "net/base/upload_data.h"
25 #include "net/http/http_response_headers.h" 25 #include "net/http/http_response_headers.h"
26 #include "net/url_request/url_request_status.h" 26 #include "net/url_request/url_request_status.h"
27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHistoryItem.h" 28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHistoryItem.h"
29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h" 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h"
31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
32 #include "webkit/glue/webkit_glue.h" 32 #include "webkit/glue/webkit_glue.h"
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 183
184 void RenderViewFakeResourcesTest::OnRenderViewReady() { 184 void RenderViewFakeResourcesTest::OnRenderViewReady() {
185 // Grab a pointer to the new view using RenderViewVisitor. 185 // Grab a pointer to the new view using RenderViewVisitor.
186 ASSERT_TRUE(!view_); 186 ASSERT_TRUE(!view_);
187 RenderView::ForEach(this); 187 RenderView::ForEach(this);
188 ASSERT_TRUE(view_); 188 ASSERT_TRUE(view_);
189 message_loop_.Quit(); 189 message_loop_.Quit();
190 } 190 }
191 191
192 } // namespace safe_browsing 192 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « chrome/renderer/renderer_main_platform_delegate_win.cc ('k') | chrome/test/render_view_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698