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

Unified Diff: content/browser/media/media_browsertest.h

Issue 2660003003: Add MediaError.message (Closed)
Patch Set: Address dalecurtis@'s comment: undef STRINGIFY_STATUS_CASE Created 3 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
Index: content/browser/media/media_browsertest.h
diff --git a/content/browser/media/media_browsertest.h b/content/browser/media/media_browsertest.h
index 238b6678c3e2c4098fa049805269d1de54e8f8cb..c2f70478e7f4e4e194b6c857bc1f2a50838e3d29 100644
--- a/content/browser/media/media_browsertest.h
+++ b/content/browser/media/media_browsertest.h
@@ -39,6 +39,11 @@ class MediaBrowserTest : public ContentBrowserTest {
// titles. Returns the matching title.
std::string RunTest(const GURL& gurl, const std::string& expected_title);
+ // Encodes |original_message| to be used in a URI query parameter suitable for
+ // decoding and usage with DecodeURIComponent in test pages that verify error
+ // message contents.
+ std::string EncodeErrorMessage(const std::string& original_message);
+
// Adds titles that RunTest() should wait for.
virtual void AddTitlesToAwait(content::TitleWatcher* title_watcher);
};
« no previous file with comments | « no previous file | content/browser/media/media_browsertest.cc » ('j') | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698