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

Side by Side Diff: content/browser/media/android/media_session.cc

Issue 1475773002: Add context_utils.h includes where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 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 "content/browser/media/android/media_session.h" 5 #include "content/browser/media/android/media_session.h"
6 6
7 #include "base/android/context_utils.h"
7 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
8 #include "content/browser/media/android/media_session_observer.h" 9 #include "content/browser/media/android/media_session_observer.h"
9 #include "content/browser/web_contents/web_contents_impl.h" 10 #include "content/browser/web_contents/web_contents_impl.h"
10 #include "content/public/browser/web_contents.h" 11 #include "content/public/browser/web_contents.h"
11 #include "content/public/browser/web_contents_delegate.h" 12 #include "content/public/browser/web_contents_delegate.h"
12 #include "jni/MediaSession_jni.h" 13 #include "jni/MediaSession_jni.h"
13 14
14 namespace content { 15 namespace content {
15 16
16 using MediaSessionSuspendedSource = 17 using MediaSessionSuspendedSource =
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 case State::SUSPENDED: 281 case State::SUSPENDED:
281 uma_helper_.OnSessionSuspended(); 282 uma_helper_.OnSessionSuspended();
282 break; 283 break;
283 case State::INACTIVE: 284 case State::INACTIVE:
284 uma_helper_.OnSessionInactive(); 285 uma_helper_.OnSessionInactive();
285 break; 286 break;
286 } 287 }
287 } 288 }
288 289
289 } // namespace content 290 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/media/android/media_resource_getter_impl.cc ('k') | content/browser/media/android/media_throttler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698