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

Unified Diff: chrome/browser/extensions/api/web_navigation/web_navigation_api.cc

Issue 11827026: Overhaul JSON Schema Compiler to support a number of features required to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/api/usb/usb_api.cc ('k') | chrome/common/extensions/api/app.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/web_navigation/web_navigation_api.cc
diff --git a/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc b/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc
index 713fff58a303fd6e8ab5e3581e3ff0f61f6211ce..0b5da0714855ff306427f671b6d9ff64ec67eec2 100644
--- a/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc
+++ b/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc
@@ -745,7 +745,7 @@ bool WebNavigationGetAllFramesFunction::RunImpl() {
const FrameNavigationState& navigation_state =
observer->frame_navigation_state();
- std::vector<linked_ptr<GetAllFrames::Results::DetailsElement> > result_list;
+ std::vector<linked_ptr<GetAllFrames::Results::DetailsType> > result_list;
for (FrameNavigationState::const_iterator it = navigation_state.begin();
it != navigation_state.end(); ++it) {
FrameNavigationState::FrameID frame_id = *it;
@@ -754,8 +754,8 @@ bool WebNavigationGetAllFramesFunction::RunImpl() {
GURL frame_url = navigation_state.GetUrl(frame_id);
if (!navigation_state.IsValidUrl(frame_url))
continue;
- linked_ptr<GetAllFrames::Results::DetailsElement> frame(
- new GetAllFrames::Results::DetailsElement());
+ linked_ptr<GetAllFrames::Results::DetailsType> frame(
+ new GetAllFrames::Results::DetailsType());
frame->url = frame_url.spec();
frame->frame_id = helpers::GetFrameId(
navigation_state.IsMainFrame(frame_id), frame_id.frame_num);
« no previous file with comments | « chrome/browser/extensions/api/usb/usb_api.cc ('k') | chrome/common/extensions/api/app.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698