Chromium Code Reviews

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: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 957b7c5b0f8df16229359694862074ceb15caccc..c89b23ed3fe7564b0932193e32982b8c50edf882 100644
--- a/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc
+++ b/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc
@@ -722,7 +722,7 @@ bool GetAllFramesFunction::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;
@@ -731,8 +731,8 @@ bool GetAllFramesFunction::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);

Powered by Google App Engine