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

Side by Side Diff: chrome/browser/media/android/router/media_router_android.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 "chrome/browser/media/android/router/media_router_android.h" 5 #include "chrome/browser/media/android/router/media_router_android.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 "base/android/jni_array.h" 9 #include "base/android/jni_array.h"
9 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
10 #include "base/guid.h" 11 #include "base/guid.h"
11 #include "base/logging.h" 12 #include "base/logging.h"
12 #include "base/memory/scoped_vector.h" 13 #include "base/memory/scoped_vector.h"
13 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
14 #include "chrome/browser/android/tab_android.h" 15 #include "chrome/browser/android/tab_android.h"
15 #include "chrome/browser/media/router/media_routes_observer.h" 16 #include "chrome/browser/media/router/media_routes_observer.h"
16 #include "chrome/browser/media/router/media_sinks_observer.h" 17 #include "chrome/browser/media/router/media_sinks_observer.h"
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 scoped_ptr<content::PresentationSessionMessage> message( 418 scoped_ptr<content::PresentationSessionMessage> message(
418 new content::PresentationSessionMessage(content::TEXT)); 419 new content::PresentationSessionMessage(content::TEXT));
419 message->message = ConvertJavaStringToUTF8(env, jmessage); 420 message->message = ConvertJavaStringToUTF8(env, jmessage);
420 session_messages.push_back(message.Pass()); 421 session_messages.push_back(message.Pass());
421 422
422 FOR_EACH_OBSERVER(PresentationSessionMessagesObserver, *observer_list, 423 FOR_EACH_OBSERVER(PresentationSessionMessagesObserver, *observer_list,
423 OnMessagesReceived(session_messages, true)); 424 OnMessagesReceived(session_messages, true));
424 } 425 }
425 426
426 } // namespace media_router 427 } // namespace media_router
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698