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

Unified Diff: chrome/browser/metrics_log.cc

Issue 17367: Fix layout test failures. Looks like keying the plugins based on OriginalFil... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « no previous file | chrome/common/render_messages.h » ('j') | webkit/glue/plugins/plugin_list.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics_log.cc
===================================================================
--- chrome/browser/metrics_log.cc (revision 7888)
+++ chrome/browser/metrics_log.cc (working copy)
@@ -458,7 +458,8 @@
// Plugin name and filename are hashed for the privacy of those
// testing unreleased new extensions.
WriteAttribute("name", CreateBase64Hash(WideToUTF8(iter->name)));
- WriteAttribute("filename", CreateBase64Hash(iter->filename));
+ WriteAttribute("filename",
+ CreateBase64Hash(WideToUTF8(iter->path.BaseName().ToWStringHack())));
WriteAttribute("version", WideToUTF8(iter->version));
}
}
« no previous file with comments | « no previous file | chrome/common/render_messages.h » ('j') | webkit/glue/plugins/plugin_list.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698