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

Side by Side Diff: chrome/browser/media/router/presentation_service_delegate_impl_unittest.cc

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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/router/presentation_service_delegate_impl.h" 5 #include "chrome/browser/media/router/presentation_service_delegate_impl.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/strings/stringprintf.h"
9 #include "chrome/browser/media/router/media_source.h" 8 #include "chrome/browser/media/router/media_source.h"
10 #include "chrome/browser/media/router/media_source_helper.h" 9 #include "chrome/browser/media/router/media_source_helper.h"
11 #include "chrome/browser/media/router/mock_media_router.h" 10 #include "chrome/browser/media/router/mock_media_router.h"
12 #include "chrome/browser/media/router/mock_screen_availability_listener.h" 11 #include "chrome/browser/media/router/mock_screen_availability_listener.h"
13 #include "chrome/browser/media/router/route_request_result.h" 12 #include "chrome/browser/media/router/route_request_result.h"
14 #include "chrome/browser/media/router/test_helper.h" 13 #include "chrome/browser/media/router/test_helper.h"
15 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/test/base/chrome_render_view_host_test_harness.h" 15 #include "chrome/test/base/chrome_render_view_host_test_harness.h"
17 #include "chrome/test/base/testing_profile.h" 16 #include "chrome/test/base/testing_profile.h"
18 #include "content/public/browser/presentation_screen_availability_listener.h" 17 #include "content/public/browser/presentation_screen_availability_listener.h"
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 int render_process_id = main_frame->GetProcess()->GetID(); 464 int render_process_id = main_frame->GetProcess()->GetID();
466 int render_frame_id = main_frame->GetRoutingID(); 465 int render_frame_id = main_frame->GetRoutingID();
467 466
468 EXPECT_CALL(router_, RegisterMediaSinksObserver(_)).WillOnce(Return(false)); 467 EXPECT_CALL(router_, RegisterMediaSinksObserver(_)).WillOnce(Return(false));
469 EXPECT_CALL(listener, OnScreenAvailabilityNotSupported()); 468 EXPECT_CALL(listener, OnScreenAvailabilityNotSupported());
470 EXPECT_FALSE(delegate_impl_->AddScreenAvailabilityListener( 469 EXPECT_FALSE(delegate_impl_->AddScreenAvailabilityListener(
471 render_process_id, render_frame_id, &listener)); 470 render_process_id, render_frame_id, &listener));
472 } 471 }
473 472
474 } // namespace media_router 473 } // namespace media_router
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698