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

Side by Side Diff: content/public/test/render_view_fake_resources_test.cc

Issue 18154002: Use a direct include of time headers in content/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/public/test/render_view_fake_resources_test.h" 5 #include "content/public/test/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/run_loop.h" 11 #include "base/run_loop.h"
12 #include "base/shared_memory.h" 12 #include "base/shared_memory.h"
13 #include "base/time.h" 13 #include "base/time/time.h"
14 #include "content/common/resource_messages.h" 14 #include "content/common/resource_messages.h"
15 #include "content/common/view_messages.h" 15 #include "content/common/view_messages.h"
16 #include "content/public/common/resource_response.h" 16 #include "content/public/common/resource_response.h"
17 #include "content/public/renderer/history_item_serialization.h" 17 #include "content/public/renderer/history_item_serialization.h"
18 #include "content/renderer/render_thread_impl.h" 18 #include "content/renderer/render_thread_impl.h"
19 #include "content/renderer/render_view_impl.h" 19 #include "content/renderer/render_view_impl.h"
20 #include "content/renderer/renderer_webkitplatformsupport_impl.h" 20 #include "content/renderer/renderer_webkitplatformsupport_impl.h"
21 #include "content/test/mock_render_process.h" 21 #include "content/test/mock_render_process.h"
22 #include "googleurl/src/gurl.h" 22 #include "googleurl/src/gurl.h"
23 #include "net/base/net_errors.h" 23 #include "net/base/net_errors.h"
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 params.url = GURL(history_item.urlString()); 219 params.url = GURL(history_item.urlString());
220 params.transition = PAGE_TRANSITION_FORWARD_BACK; 220 params.transition = PAGE_TRANSITION_FORWARD_BACK;
221 params.page_state = HistoryItemToPageState(history_item); 221 params.page_state = HistoryItemToPageState(history_item);
222 params.navigation_type = ViewMsg_Navigate_Type::NORMAL; 222 params.navigation_type = ViewMsg_Navigate_Type::NORMAL;
223 params.request_time = base::Time::Now(); 223 params.request_time = base::Time::Now();
224 channel_->Send(new ViewMsg_Navigate(impl->routing_id(), params)); 224 channel_->Send(new ViewMsg_Navigate(impl->routing_id(), params));
225 message_loop_.Run(); 225 message_loop_.Run();
226 } 226 }
227 227
228 } // namespace content 228 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/nested_message_pump_android.cc ('k') | content/public/test/test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698