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

Unified Diff: content/browser/storage_partition_impl_map.cc

Issue 14200011: Cleanup: Return additional schemes vector as out parameter from GetAdditionalWebUISchemes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/chrome_content_browser_client.cc ('k') | content/browser/webui/url_data_manager_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/storage_partition_impl_map.cc
diff --git a/content/browser/storage_partition_impl_map.cc b/content/browser/storage_partition_impl_map.cc
index d3586ed6db6ffe2e36c9641dfe129b277e344047..94141d61797a392a269d5943aba51e68a8f3c4b3 100644
--- a/content/browser/storage_partition_impl_map.cc
+++ b/content/browser/storage_partition_impl_map.cc
@@ -426,8 +426,9 @@ StoragePartitionImpl* StoragePartitionImplMap::Get(
browser_context_->IsOffTheRecord(),
partition->GetAppCacheService(),
blob_storage_context));
- std::vector<std::string> additional_webui_schemes =
- GetContentClient()->browser()->GetAdditionalWebUISchemes();
+ std::vector<std::string> additional_webui_schemes;
+ GetContentClient()->browser()->GetAdditionalWebUISchemes(
+ &additional_webui_schemes);
for (std::vector<std::string>::const_iterator it =
additional_webui_schemes.begin();
it != additional_webui_schemes.end();
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | content/browser/webui/url_data_manager_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698