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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 184873004: Update resource requests to remove redundant frame ID. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initial patch Created 6 years, 9 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 // different process. 321 // different process.
322 bool IsSwappedOut() const { return rvh_state_ == STATE_SWAPPED_OUT; } 322 bool IsSwappedOut() const { return rvh_state_ == STATE_SWAPPED_OUT; }
323 323
324 // The current state of this RVH. 324 // The current state of this RVH.
325 RenderViewHostImplState rvh_state() const { return rvh_state_; } 325 RenderViewHostImplState rvh_state() const { return rvh_state_; }
326 326
327 // Called on the pending RenderViewHost when the network response is ready to 327 // Called on the pending RenderViewHost when the network response is ready to
328 // commit. We should ensure that the old RenderViewHost runs its unload 328 // commit. We should ensure that the old RenderViewHost runs its unload
329 // handler and determine whether a transfer to a different RenderViewHost is 329 // handler and determine whether a transfer to a different RenderViewHost is
330 // needed. 330 // needed.
331 // TODO(creis): Change to render_frame_id, then move this to RenderFrameHost.
Charlie Reis 2014/02/28 23:26:49 I'll move this frame_id to render_frame_id in the
331 void OnCrossSiteResponse( 332 void OnCrossSiteResponse(
332 const GlobalRequestID& global_request_id, 333 const GlobalRequestID& global_request_id,
333 scoped_ptr<CrossSiteTransferringRequest> cross_site_transferring_request, 334 scoped_ptr<CrossSiteTransferringRequest> cross_site_transferring_request,
334 const std::vector<GURL>& transfer_url_chain, 335 const std::vector<GURL>& transfer_url_chain,
335 const Referrer& referrer, 336 const Referrer& referrer,
336 PageTransition page_transition, 337 PageTransition page_transition,
337 int64 frame_id, 338 int64 frame_id,
338 bool should_replace_current_entry); 339 bool should_replace_current_entry);
339 340
340 // Tells the renderer that this RenderView will soon be swapped out, and thus 341 // Tells the renderer that this RenderView will soon be swapped out, and thus
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 756 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
756 }; 757 };
757 758
758 #if defined(COMPILER_MSVC) 759 #if defined(COMPILER_MSVC)
759 #pragma warning(pop) 760 #pragma warning(pop)
760 #endif 761 #endif
761 762
762 } // namespace content 763 } // namespace content
763 764
764 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 765 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698