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

Side by Side Diff: chrome/browser/media/media_capture_devices_dispatcher.cc

Issue 1576563002: [Media Router] Replace old MR extension ID with "new" extension ID. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/media/media_capture_devices_dispatcher.h" 5 #include "chrome/browser/media/media_capture_devices_dispatcher.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/metrics/field_trial.h" 9 #include "base/metrics/field_trial.h"
10 #include "base/prefs/pref_service.h" 10 #include "base/prefs/pref_service.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // Canary 118 // Canary
119 origin.spec() == "chrome-extension://hfaagokkkhdbgiakmmlclaapfelnkoah/" || 119 origin.spec() == "chrome-extension://hfaagokkkhdbgiakmmlclaapfelnkoah/" ||
120 // Beta (internal) 120 // Beta (internal)
121 origin.spec() == "chrome-extension://fmfcbgogabcbclcofgocippekhfcmgfj/" || 121 origin.spec() == "chrome-extension://fmfcbgogabcbclcofgocippekhfcmgfj/" ||
122 // Google Cast Beta 122 // Google Cast Beta
123 origin.spec() == "chrome-extension://dliochdbjfkdbacpmhlcpmleaejidimm/" || 123 origin.spec() == "chrome-extension://dliochdbjfkdbacpmhlcpmleaejidimm/" ||
124 // Google Cast Stable 124 // Google Cast Stable
125 origin.spec() == "chrome-extension://boadgeojelhgndaghljhdicfkmllpafd/" || 125 origin.spec() == "chrome-extension://boadgeojelhgndaghljhdicfkmllpafd/" ||
126 // http://crbug.com/457908 126 // http://crbug.com/457908
127 origin.spec() == "chrome-extension://ekpaaapppgpmolpcldedioblbkmijaca/" || 127 origin.spec() == "chrome-extension://ekpaaapppgpmolpcldedioblbkmijaca/" ||
128 origin.spec() == "chrome-extension://fjhoaacokmgbjemoflkofnenfaiekifl/"; 128 // http://crbug.com/574889
129 origin.spec() == "chrome-extension://pkedcjkdefgpdelpbcmbmeomcjbeemfm/";
129 } 130 }
130 131
131 void MediaCaptureDevicesDispatcher::AddObserver(Observer* observer) { 132 void MediaCaptureDevicesDispatcher::AddObserver(Observer* observer) {
132 DCHECK_CURRENTLY_ON(BrowserThread::UI); 133 DCHECK_CURRENTLY_ON(BrowserThread::UI);
133 if (!observers_.HasObserver(observer)) 134 if (!observers_.HasObserver(observer))
134 observers_.AddObserver(observer); 135 observers_.AddObserver(observer);
135 } 136 }
136 137
137 void MediaCaptureDevicesDispatcher::RemoveObserver(Observer* observer) { 138 void MediaCaptureDevicesDispatcher::RemoveObserver(Observer* observer) {
138 DCHECK_CURRENTLY_ON(BrowserThread::UI); 139 DCHECK_CURRENTLY_ON(BrowserThread::UI);
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 398
398 void MediaCaptureDevicesDispatcher::SetTestAudioCaptureDevices( 399 void MediaCaptureDevicesDispatcher::SetTestAudioCaptureDevices(
399 const MediaStreamDevices& devices) { 400 const MediaStreamDevices& devices) {
400 test_audio_devices_ = devices; 401 test_audio_devices_ = devices;
401 } 402 }
402 403
403 void MediaCaptureDevicesDispatcher::SetTestVideoCaptureDevices( 404 void MediaCaptureDevicesDispatcher::SetTestVideoCaptureDevices(
404 const MediaStreamDevices& devices) { 405 const MediaStreamDevices& devices) {
405 test_video_devices_ = devices; 406 test_video_devices_ = devices;
406 } 407 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/tab_capture/tab_capture_api.cc ('k') | chrome/common/extensions/api/_api_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698