OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
11 #include "base/string_util.h" | 11 #include "base/string_util.h" |
| 12 #include "base/utf_string_conversions.h" |
12 #include "base/values.h" | 13 #include "base/values.h" |
13 #include "base/weak_ptr.h" | 14 #include "base/weak_ptr.h" |
14 #include "chrome/browser/chrome_thread.h" | 15 #include "chrome/browser/chrome_thread.h" |
15 #include "chrome/common/chrome_paths.h" | 16 #include "chrome/common/chrome_paths.h" |
16 #include "chrome/common/notification_details.h" | 17 #include "chrome/common/notification_details.h" |
17 #include "chrome/common/notification_observer.h" | 18 #include "chrome/common/notification_observer.h" |
18 #include "chrome/common/notification_registrar.h" | 19 #include "chrome/common/notification_registrar.h" |
19 #include "chrome/common/notification_source.h" | 20 #include "chrome/common/notification_source.h" |
20 #include "chrome/common/notification_type.h" | 21 #include "chrome/common/notification_type.h" |
21 #include "chrome/common/url_constants.h" | 22 #include "chrome/common/url_constants.h" |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 delegate_->GetDOMMessageHandlers(&handlers); | 307 delegate_->GetDOMMessageHandlers(&handlers); |
307 delegate_.reset(); | 308 delegate_.reset(); |
308 EXPECT_THAT(mock_flow_handler_.get(), NotNull()); | 309 EXPECT_THAT(mock_flow_handler_.get(), NotNull()); |
309 } | 310 } |
310 | 311 |
311 // Testing for ExternalHtmlDialogUI needs a mock TabContents, mock | 312 // Testing for ExternalHtmlDialogUI needs a mock TabContents, mock |
312 // CloudPrintHtmlDialogDelegate (provided through the mock | 313 // CloudPrintHtmlDialogDelegate (provided through the mock |
313 // tab_contents) | 314 // tab_contents) |
314 | 315 |
315 // Testing for PrintDialogCloud needs a mock Browser. | 316 // Testing for PrintDialogCloud needs a mock Browser. |
OLD | NEW |