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

Unified Diff: chrome/browser/extensions/api/tab_capture/tab_capture_api.cc

Issue 1224643008: Add a fake cast extension for testing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 5 years, 5 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: chrome/browser/extensions/api/tab_capture/tab_capture_api.cc
diff --git a/chrome/browser/extensions/api/tab_capture/tab_capture_api.cc b/chrome/browser/extensions/api/tab_capture/tab_capture_api.cc
index 440c14fcc7168645c060e9b01107b36d63a8f39f..43ae06a3d2f69541a62469dc4e7c441eef761198 100644
--- a/chrome/browser/extensions/api/tab_capture/tab_capture_api.cc
+++ b/chrome/browser/extensions/api/tab_capture/tab_capture_api.cc
@@ -65,6 +65,8 @@ const char* const kChromecastExtensionIds[] = {
"hfaagokkkhdbgiakmmlclaapfelnkoah", // Canary
"dliochdbjfkdbacpmhlcpmleaejidimm", // Google Cast Beta
"boadgeojelhgndaghljhdicfkmllpafd", // Google Cast Stable
+ // Mock extension for testing, under /chrome/test/data/extensions/tray_cast
+ "hlgmmjhlnlapooncikdpiiokdjcdpjme",
achuithb 2015/07/08 22:23:55 Personally I think a comment like // Test cast ext
jdufault 2015/07/09 19:30:02 Done, using the string to search instead of hardco
};
bool TabCaptureCaptureFunction::RunSync() {

Powered by Google App Engine
This is Rietveld 408576698