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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 1619363002: Add compile time checks against longs being used in IPC structs on 32 bit Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more per Dmitry Created 4 years, 11 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 void OnRunJavaScriptMessage(const base::string16& message, 584 void OnRunJavaScriptMessage(const base::string16& message,
585 const base::string16& default_prompt, 585 const base::string16& default_prompt,
586 const GURL& frame_url, 586 const GURL& frame_url,
587 JavaScriptMessageType type, 587 JavaScriptMessageType type,
588 IPC::Message* reply_msg); 588 IPC::Message* reply_msg);
589 void OnRunBeforeUnloadConfirm(const GURL& frame_url, 589 void OnRunBeforeUnloadConfirm(const GURL& frame_url,
590 const base::string16& message, 590 const base::string16& message,
591 bool is_reload, 591 bool is_reload,
592 IPC::Message* reply_msg); 592 IPC::Message* reply_msg);
593 void OnTextSurroundingSelectionResponse(const base::string16& content, 593 void OnTextSurroundingSelectionResponse(const base::string16& content,
594 size_t start_offset, 594 uint32_t start_offset,
595 size_t end_offset); 595 uint32_t end_offset);
596 void OnDidAccessInitialDocument(); 596 void OnDidAccessInitialDocument();
597 void OnDidChangeOpener(int32_t opener_routing_id); 597 void OnDidChangeOpener(int32_t opener_routing_id);
598 void OnDidChangeName(const std::string& name); 598 void OnDidChangeName(const std::string& name);
599 void OnEnforceStrictMixedContentChecking(); 599 void OnEnforceStrictMixedContentChecking();
600 void OnDidAssignPageId(int32_t page_id); 600 void OnDidAssignPageId(int32_t page_id);
601 void OnDidChangeSandboxFlags(int32_t frame_routing_id, 601 void OnDidChangeSandboxFlags(int32_t frame_routing_id,
602 blink::WebSandboxFlags flags); 602 blink::WebSandboxFlags flags);
603 void OnDidChangeFrameOwnerProperties( 603 void OnDidChangeFrameOwnerProperties(
604 int32_t frame_routing_id, 604 int32_t frame_routing_id,
605 const blink::WebFrameOwnerProperties& frame_owner_properties); 605 const blink::WebFrameOwnerProperties& frame_owner_properties);
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 892
893 // NOTE: This must be the last member. 893 // NOTE: This must be the last member.
894 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 894 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
895 895
896 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 896 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
897 }; 897 };
898 898
899 } // namespace content 899 } // namespace content
900 900
901 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 901 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698