| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/chromeos/extensions/file_manager/desktop_notifications.
h" | 5 #include "chrome/browser/chromeos/file_manager/desktop_notifications.h" |
| 6 | 6 |
| 7 #include <gtest/gtest.h> | 7 #include <gtest/gtest.h> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
| 11 #include "chrome/browser/notifications/notification.h" | 11 #include "chrome/browser/notifications/notification.h" |
| 12 #include "chrome/browser/notifications/notification_ui_manager.h" | 12 #include "chrome/browser/notifications/notification_ui_manager.h" |
| 13 #include "chrome/browser/ui/browser.h" | 13 #include "chrome/browser/ui/browser.h" |
| 14 #include "chrome/test/base/in_process_browser_test.h" | 14 #include "chrome/test/base/in_process_browser_test.h" |
| 15 #include "chrome/test/base/ui_test_utils.h" | 15 #include "chrome/test/base/ui_test_utils.h" |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 content::RunAllPendingInMessageLoop(); | 174 content::RunAllPendingInMessageLoop(); |
| 175 | 175 |
| 176 EXPECT_EQ( | 176 EXPECT_EQ( |
| 177 l10n_util::GetStringUTF16(IDS_MULTIPART_DEVICE_UNSUPPORTED_DEFAULT_MESSAGE), | 177 l10n_util::GetStringUTF16(IDS_MULTIPART_DEVICE_UNSUPPORTED_DEFAULT_MESSAGE), |
| 178 notifications_->GetNotificationMessageForTest("DeviceFail_path")); | 178 notifications_->GetNotificationMessageForTest("DeviceFail_path")); |
| 179 | 179 |
| 180 notifications_->UnregisterDevice("path"); | 180 notifications_->UnregisterDevice("path"); |
| 181 } | 181 } |
| 182 | 182 |
| 183 } // namespace file_manager. | 183 } // namespace file_manager. |
| OLD | NEW |