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

Unified Diff: content/test/test_render_view_host.cc

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/test_render_view_host.h ('k') | content/test/test_render_view_host_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_render_view_host.cc
diff --git a/content/test/test_render_view_host.cc b/content/test/test_render_view_host.cc
index 853676801d57afb735c56ee474316b1c745b330b..5617240e8f72ace2333112c038352a0626a09dc3 100644
--- a/content/test/test_render_view_host.cc
+++ b/content/test/test_render_view_host.cc
@@ -6,6 +6,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/strings/utf_string_conversions.h"
+#include "build/build_config.h"
#include "content/browser/dom_storage/dom_storage_context_wrapper.h"
#include "content/browser/dom_storage/session_storage_namespace_impl.h"
#include "content/browser/loader/resource_dispatcher_host_impl.h"
@@ -188,7 +189,7 @@ gfx::Rect TestRenderWidgetHostView::GetBoundsInRootWindow() {
}
void TestRenderWidgetHostView::OnSwapCompositorFrame(
- uint32 output_surface_id,
+ uint32_t output_surface_id,
scoped_ptr<cc::CompositorFrame> frame) {
did_swap_compositor_frame_ = true;
}
@@ -215,8 +216,8 @@ TestRenderViewHost::TestRenderViewHost(
SiteInstance* instance,
RenderViewHostDelegate* delegate,
RenderWidgetHostDelegate* widget_delegate,
- int32 routing_id,
- int32 main_frame_routing_id,
+ int32_t routing_id,
+ int32_t main_frame_routing_id,
bool swapped_out)
: RenderViewHostImpl(instance,
delegate,
@@ -243,7 +244,7 @@ bool TestRenderViewHost::CreateTestRenderView(
const base::string16& frame_name,
int opener_frame_route_id,
int proxy_route_id,
- int32 max_page_id,
+ int32_t max_page_id,
bool window_was_created_with_opener) {
FrameReplicationState replicated_state;
replicated_state.name = base::UTF16ToUTF8(frame_name);
@@ -254,7 +255,7 @@ bool TestRenderViewHost::CreateTestRenderView(
bool TestRenderViewHost::CreateRenderView(
int opener_frame_route_id,
int proxy_route_id,
- int32 max_page_id,
+ int32_t max_page_id,
const FrameReplicationState& replicated_frame_state,
bool window_was_created_with_opener) {
DCHECK(!IsRenderViewLive());
« no previous file with comments | « content/test/test_render_view_host.h ('k') | content/test/test_render_view_host_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698