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

Unified Diff: shell/crash/crash_upload_unittests.cc

Issue 1311913009: Fix crash upload test on Android. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/crash/crash_upload_unittests.cc
diff --git a/shell/crash/crash_upload_unittests.cc b/shell/crash/crash_upload_unittests.cc
index ee2750a897fe39c0f4a443a75ad90d866d59917a..f361678fcdf81baadd25d7501a607fa193f61ce4 100644
--- a/shell/crash/crash_upload_unittests.cc
+++ b/shell/crash/crash_upload_unittests.cc
@@ -91,7 +91,7 @@ class MockNetworkService : public mojo::NetworkService {
};
std::string GetDumpContent(const base::FilePath& path) {
- return "--" + path.value() + "\r\n";
+ return "--" + path.BaseName().value() + "\r\n";
}
void CreateValidDump(const base::FilePath& path, const base::Time& time) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698