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

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

Issue 8986007: Move WebUIMessageHandler to its own file in the public directory and put it in the content namesp... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 12 matching lines...) Expand all
23 #include "chrome/test/base/testing_profile.h" 23 #include "chrome/test/base/testing_profile.h"
24 #include "content/public/browser/notification_details.h" 24 #include "content/public/browser/notification_details.h"
25 #include "content/public/browser/notification_source.h" 25 #include "content/public/browser/notification_source.h"
26 #include "content/public/browser/notification_types.h" 26 #include "content/public/browser/notification_types.h"
27 #include "content/test/test_browser_thread.h" 27 #include "content/test/test_browser_thread.h"
28 #include "testing/gmock/include/gmock/gmock.h" 28 #include "testing/gmock/include/gmock/gmock.h"
29 #include "testing/gtest/include/gtest/gtest.h" 29 #include "testing/gtest/include/gtest/gtest.h"
30 30
31 using content::BrowserThread; 31 using content::BrowserThread;
32 using content::WebContents; 32 using content::WebContents;
33 using content::WebUIMessageHandler;
33 using testing::A; 34 using testing::A;
34 using testing::AtLeast; 35 using testing::AtLeast;
35 using testing::Eq; 36 using testing::Eq;
36 using testing::HasSubstr; 37 using testing::HasSubstr;
37 using testing::IsNull; 38 using testing::IsNull;
38 using testing::NotNull; 39 using testing::NotNull;
39 using testing::Return; 40 using testing::Return;
40 using testing::StrEq; 41 using testing::StrEq;
41 using testing::_; 42 using testing::_;
42 43
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 delegate_->GetWebUIMessageHandlers(&handlers); 348 delegate_->GetWebUIMessageHandlers(&handlers);
348 delegate_.reset(); 349 delegate_.reset();
349 EXPECT_THAT(mock_flow_handler_.get(), NotNull()); 350 EXPECT_THAT(mock_flow_handler_.get(), NotNull());
350 } 351 }
351 352
352 // Testing for ExternalHtmlDialogUI needs a mock TabContents, mock 353 // Testing for ExternalHtmlDialogUI needs a mock TabContents, mock
353 // CloudPrintHtmlDialogDelegate (provided through the mock 354 // CloudPrintHtmlDialogDelegate (provided through the mock
354 // tab_contents) 355 // tab_contents)
355 356
356 // Testing for PrintDialogCloud needs a mock Browser. 357 // Testing for PrintDialogCloud needs a mock Browser.
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud_internal.h ('k') | chrome/browser/printing/print_preview_tab_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698