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

Side by Side Diff: chrome/browser/printing/print_dialog_cloud_unittest.cc

Issue 9969208: TabContents -> WebContentsImpl, part 20. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | Annotate | Revision Log
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/printing/print_dialog_cloud.h" 5 #include "chrome/browser/printing/print_dialog_cloud.h"
6 #include "chrome/browser/printing/print_dialog_cloud_internal.h" 6 #include "chrome/browser/printing/print_dialog_cloud_internal.h"
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 EXPECT_THAT(mock_flow_handler_.get(), IsNull()); 348 EXPECT_THAT(mock_flow_handler_.get(), IsNull());
349 } 349 }
350 350
351 TEST_F(CloudPrintHtmlDialogDelegateTest, UnownedFlowLetGo) { 351 TEST_F(CloudPrintHtmlDialogDelegateTest, UnownedFlowLetGo) {
352 std::vector<WebUIMessageHandler*> handlers; 352 std::vector<WebUIMessageHandler*> handlers;
353 delegate_->GetWebUIMessageHandlers(&handlers); 353 delegate_->GetWebUIMessageHandlers(&handlers);
354 delegate_.reset(); 354 delegate_.reset();
355 EXPECT_THAT(mock_flow_handler_.get(), NotNull()); 355 EXPECT_THAT(mock_flow_handler_.get(), NotNull());
356 } 356 }
357 357
358 // Testing for ExternalHtmlDialogUI needs a mock TabContents, mock 358 // Testing for ExternalHtmlDialogUI needs a mock WebContents, mock
359 // CloudPrintHtmlDialogDelegate (provided through the mock 359 // CloudPrintHtmlDialogDelegate (provided through the mock
360 // tab_contents) 360 // tab_contents)
361 361
362 // Testing for PrintDialogCloud needs a mock Browser. 362 // Testing for PrintDialogCloud needs a mock Browser.
OLDNEW
« no previous file with comments | « chrome/browser/printing/background_printing_manager.cc ('k') | chrome/browser/printing/print_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698