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

Unified Diff: chrome/browser/dom_ui/shared_resources_data_source.cc

Issue 2101019: Print Preview component extension (Closed)
Patch Set: Put it under a flag Created 10 years, 6 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/browser_resources.grd ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/shared_resources_data_source.cc
diff --git a/chrome/browser/dom_ui/shared_resources_data_source.cc b/chrome/browser/dom_ui/shared_resources_data_source.cc
index d460cddc54df3decb9a5c51f9d1653c4f5530b40..8c7957bd7bbc9b4138ab4b7397a6b9579294f2f4 100644
--- a/chrome/browser/dom_ui/shared_resources_data_source.cc
+++ b/chrome/browser/dom_ui/shared_resources_data_source.cc
@@ -73,7 +73,7 @@ void SharedResourcesDataSource::StartDataRequest(const std::string& path,
bool is_off_the_record,
int request_id) {
int idr = PathToIDR(path);
- DCHECK_NE(-1, idr);
+ DCHECK_NE(-1, idr) << "Couldn't find shared resource: " << path;
const ResourceBundle& rb = ResourceBundle::GetSharedInstance();
scoped_refptr<RefCountedStaticMemory> bytes(rb.LoadDataResourceBytes(idr));
SendResponse(request_id, bytes);
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698