| Index: chrome/test/plugin/pdf_browsertest.cc
|
| ===================================================================
|
| --- chrome/test/plugin/pdf_browsertest.cc (revision 91771)
|
| +++ chrome/test/plugin/pdf_browsertest.cc (working copy)
|
| @@ -81,7 +81,7 @@
|
| TabContentsWrapper* wrapper = browser()->GetSelectedTabContentsWrapper();
|
| wrapper->CaptureSnapshot();
|
| ui_test_utils::RegisterAndWait(this,
|
| - NotificationType::TAB_SNAPSHOT_TAKEN,
|
| + chrome::TAB_SNAPSHOT_TAKEN,
|
| Source<TabContentsWrapper>(wrapper));
|
| ASSERT_FALSE(snapshot_different_) << "Rendering didn't match, see result "
|
| "at " << snapshot_filename_.value().c_str();
|
| @@ -109,7 +109,7 @@
|
| virtual void Observe(NotificationType type,
|
| const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| - if (type == NotificationType::TAB_SNAPSHOT_TAKEN) {
|
| + if (type == chrome::TAB_SNAPSHOT_TAKEN) {
|
| MessageLoopForUI::current()->Quit();
|
| FilePath reference = ui_test_utils::GetTestFilePath(
|
| GetPDFTestDir(),
|
| @@ -172,7 +172,7 @@
|
| reinterpret_cast<char*>(&png_data[0]), png_data.size());
|
| }
|
| }
|
| - } else if (type == NotificationType::LOAD_STOP) {
|
| + } else if (type == chrome::LOAD_STOP) {
|
| load_stop_notification_count_++;
|
| }
|
| }
|
| @@ -185,7 +185,7 @@
|
| std::string expected_filename_;
|
| // If the snapshot is different, holds the location where it's saved.
|
| FilePath snapshot_filename_;
|
| - // How many times we've seen NotificationType::LOAD_STOP.
|
| + // How many times we've seen chrome::LOAD_STOP.
|
| int load_stop_notification_count_;
|
|
|
| scoped_ptr<net::TestServer> pdf_test_server_;
|
| @@ -276,7 +276,7 @@
|
| &(browser()->GetSelectedTabContents()->controller());
|
| NotificationRegistrar registrar;
|
| registrar.Add(this,
|
| - NotificationType::LOAD_STOP,
|
| + chrome::LOAD_STOP,
|
| Source<NavigationController>(controller));
|
| std::string base_url = std::string("files/");
|
|
|
| @@ -303,7 +303,7 @@
|
|
|
| while (true) {
|
| int last_count = load_stop_notification_count();
|
| - // We might get extraneous NotificationType::LOAD_STOP notifications when
|
| + // We might get extraneous chrome::LOAD_STOP notifications when
|
| // doing async loading. This happens when the first loader is cancelled
|
| // and before creating a byte-range request loader.
|
| bool complete = false;
|
|
|