| Index: chrome/browser/automation/testing_automation_provider.cc
 | 
| diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
 | 
| index 6d22ba448034e6f3680180c9b20e958eb70c6674..241a4b1b869090d71acdb5908dadb76e67abff35 100644
 | 
| --- a/chrome/browser/automation/testing_automation_provider.cc
 | 
| +++ b/chrome/browser/automation/testing_automation_provider.cc
 | 
| @@ -65,7 +65,7 @@
 | 
|  #include "chrome/browser/notifications/balloon_collection.h"
 | 
|  #include "chrome/browser/notifications/notification.h"
 | 
|  #include "chrome/browser/notifications/notification_ui_manager.h"
 | 
| -#include "chrome/common/automation_messages.h"
 | 
| +#include "chrome/test/automation/automation_messages.h"
 | 
|  #include "net/base/cookie_store.h"
 | 
|  #include "net/url_request/url_request_context.h"
 | 
|  #include "views/event.h"
 | 
| @@ -1352,7 +1352,7 @@ void TestingAutomationProvider::GetSecurityState(int handle,
 | 
|  void TestingAutomationProvider::GetPageType(
 | 
|      int handle,
 | 
|      bool* success,
 | 
| -    PageType* page_type) {
 | 
| +    NavigationEntry::PageType* page_type) {
 | 
|    if (tab_tracker_->ContainsHandle(handle)) {
 | 
|      NavigationController* tab = tab_tracker_->GetResource(handle);
 | 
|      NavigationEntry* entry = tab->GetActiveEntry();
 | 
| @@ -1360,12 +1360,12 @@ void TestingAutomationProvider::GetPageType(
 | 
|      *success = true;
 | 
|      // In order to return the proper result when an interstitial is shown and
 | 
|      // no navigation entry were created for it we need to ask the TabContents.
 | 
| -    if (*page_type == NORMAL_PAGE &&
 | 
| +    if (*page_type == NavigationEntry::NORMAL_PAGE &&
 | 
|          tab->tab_contents()->showing_interstitial_page())
 | 
| -      *page_type = INTERSTITIAL_PAGE;
 | 
| +      *page_type = NavigationEntry::INTERSTITIAL_PAGE;
 | 
|    } else {
 | 
|      *success = false;
 | 
| -    *page_type = NORMAL_PAGE;
 | 
| +    *page_type = NavigationEntry::NORMAL_PAGE;
 | 
|    }
 | 
|  }
 | 
|  
 | 
| @@ -1383,7 +1383,7 @@ void TestingAutomationProvider::ActionOnSSLBlockingPage(
 | 
|    if (tab_tracker_->ContainsHandle(handle)) {
 | 
|      NavigationController* tab = tab_tracker_->GetResource(handle);
 | 
|      NavigationEntry* entry = tab->GetActiveEntry();
 | 
| -    if (entry->page_type() == INTERSTITIAL_PAGE) {
 | 
| +    if (entry->page_type() == NavigationEntry::INTERSTITIAL_PAGE) {
 | 
|        TabContents* tab_contents = tab->tab_contents();
 | 
|        InterstitialPage* ssl_blocking_page =
 | 
|            InterstitialPage::GetInterstitialPage(tab_contents);
 | 
| @@ -2458,10 +2458,10 @@ void TestingAutomationProvider::GetNavigationInfo(
 | 
|    return_value->Set("ssl", ssl);
 | 
|  
 | 
|    // Page type.
 | 
| -  std::map<PageType, std::string> pagetype_to_string;
 | 
| -  pagetype_to_string[NORMAL_PAGE] = "NORMAL_PAGE";
 | 
| -  pagetype_to_string[ERROR_PAGE] = "ERROR_PAGE";
 | 
| -  pagetype_to_string[INTERSTITIAL_PAGE] = "INTERSTITIAL_PAGE";
 | 
| +  std::map<NavigationEntry::PageType, std::string> pagetype_to_string;
 | 
| +  pagetype_to_string[NavigationEntry::NORMAL_PAGE] = "NORMAL_PAGE";
 | 
| +  pagetype_to_string[NavigationEntry::ERROR_PAGE] = "ERROR_PAGE";
 | 
| +  pagetype_to_string[NavigationEntry::INTERSTITIAL_PAGE] = "INTERSTITIAL_PAGE";
 | 
|    return_value->SetString("page_type",
 | 
|                            pagetype_to_string[nav_entry->page_type()]);
 | 
|  
 | 
| 
 |