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

Side by Side Diff: media/filters/default_media_permission.cc

Issue 1965273003: Fix include path for moved thread_task_runner_handle.h header in media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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
« no previous file with comments | « media/filters/android/media_codec_audio_decoder.cc ('k') | media/filters/ffmpeg_demuxer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "media/filters/default_media_permission.h" 5 #include "media/filters/default_media_permission.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
11 #include "base/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 12
13 namespace media { 13 namespace media {
14 14
15 DefaultMediaPermission::DefaultMediaPermission(bool allow) : allow_(allow) { 15 DefaultMediaPermission::DefaultMediaPermission(bool allow) : allow_(allow) {
16 } 16 }
17 17
18 DefaultMediaPermission::~DefaultMediaPermission() { 18 DefaultMediaPermission::~DefaultMediaPermission() {
19 } 19 }
20 20
21 static void FirePermissionStatusCallback( 21 static void FirePermissionStatusCallback(
(...skipping 18 matching lines...) Expand all
40 40
41 void DefaultMediaPermission::RequestPermission( 41 void DefaultMediaPermission::RequestPermission(
42 Type type, 42 Type type,
43 const GURL& /* security_origin */, 43 const GURL& /* security_origin */,
44 const PermissionStatusCB& permission_status_cb) { 44 const PermissionStatusCB& permission_status_cb) {
45 CHECK_EQ(PROTECTED_MEDIA_IDENTIFIER, type); 45 CHECK_EQ(PROTECTED_MEDIA_IDENTIFIER, type);
46 FirePermissionStatusCallback(permission_status_cb, allow_); 46 FirePermissionStatusCallback(permission_status_cb, allow_);
47 } 47 }
48 48
49 } // namespace media 49 } // namespace media
OLDNEW
« no previous file with comments | « media/filters/android/media_codec_audio_decoder.cc ('k') | media/filters/ffmpeg_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698