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

Issue 10805066: Pass the render process id to the FrameNavigationState. (Closed)

Created:
8 years, 5 months ago by jochen (gone - plz use gerrit)
Modified:
8 years, 5 months ago
Reviewers:
Matt Perry
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

Pass the render process id to the FrameNavigationState. It's used in addition to frame ids to identify frames correctly. Also expose the processId via webNavigation.getFrame and getAllFrames BUG=136090 TEST=ExtensionApiTest.WebNavigationGetFrame Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=148074

Patch Set 1 #

Total comments: 4

Patch Set 2 : patch for landing #

Messages

Total messages: 4 (0 generated)
jochen (gone - plz use gerrit)
plz review this is the second last step. In the last step, I'll change how ...
8 years, 5 months ago (2012-07-23 19:45:46 UTC) #1
Matt Perry
lgtm https://chromiumcodereview.appspot.com/10805066/diff/1/chrome/browser/extensions/api/web_navigation/frame_navigation_state.h File chrome/browser/extensions/api/web_navigation/frame_navigation_state.h (right): https://chromiumcodereview.appspot.com/10805066/diff/1/chrome/browser/extensions/api/web_navigation/frame_navigation_state.h#newcode24 chrome/browser/extensions/api/web_navigation/frame_navigation_state.h:24: typedef std::pair<int64, int> FrameID; How much more work ...
8 years, 5 months ago (2012-07-23 21:28:10 UTC) #2
jochen (gone - plz use gerrit)
http://codereview.chromium.org/10805066/diff/1/chrome/browser/extensions/api/web_navigation/frame_navigation_state.h File chrome/browser/extensions/api/web_navigation/frame_navigation_state.h (right): http://codereview.chromium.org/10805066/diff/1/chrome/browser/extensions/api/web_navigation/frame_navigation_state.h#newcode24 chrome/browser/extensions/api/web_navigation/frame_navigation_state.h:24: typedef std::pair<int64, int> FrameID; On 2012/07/23 21:28:10, Matt Perry ...
8 years, 5 months ago (2012-07-23 22:04:05 UTC) #3
Matt Perry
8 years, 5 months ago (2012-07-23 22:31:29 UTC) #4
http://codereview.chromium.org/10805066/diff/1/chrome/browser/extensions/api/...
File chrome/browser/extensions/api/web_navigation/frame_navigation_state.h
(right):

http://codereview.chromium.org/10805066/diff/1/chrome/browser/extensions/api/...
chrome/browser/extensions/api/web_navigation/frame_navigation_state.h:24:
typedef std::pair<int64, int> FrameID;
On 2012/07/23 22:04:05, jochen wrote:
> On 2012/07/23 21:28:10, Matt Perry wrote:
> > How much more work would it be to define your own struct with named
variables?
> > "first" and "second" could easily get confusing as to which is which.
> 
> not too much. I'd have to specialize the std::less template, so I can insert
it
> into maps and sets. wdyt?

Yeah I think that's worth it. Or maybe just define operator<

Powered by Google App Engine
This is Rietveld 408576698