Index: content/browser/appcache/appcache_internals_ui.cc |
diff --git a/content/browser/appcache/appcache_internals_ui.cc b/content/browser/appcache/appcache_internals_ui.cc |
index f14909da53da56eed32a067e98012ecb9ed8c8d4..dfd06b167bd4dd3af6bdc3e38c21ca1c4f0ff354 100644 |
--- a/content/browser/appcache/appcache_internals_ui.cc |
+++ b/content/browser/appcache/appcache_internals_ui.cc |
@@ -413,9 +413,12 @@ void AppCacheInternalsUI::GetFileDetails(const base::ListValue* args) { |
void AppCacheInternalsUI::OnAllAppCacheInfoReady( |
scoped_refptr<AppCacheInfoCollection> collection, |
const base::FilePath& partition_path) { |
+ std::string incognito_path_prefix; |
+ if (browser_context()->IsOffTheRecord()) |
+ incognito_path_prefix = "Incognito "; |
web_ui()->CallJavascriptFunction( |
kFunctionOnAllAppCacheInfoReady, |
- base::StringValue(partition_path.AsUTF8Unsafe()), |
+ base::StringValue(incognito_path_prefix + partition_path.AsUTF8Unsafe()), |
*GetListValueFromAppCacheInfoCollection(collection.get())); |
} |