| Index: chrome/browser/geolocation/geolocation_permission_context_unittest.cc
|
| ===================================================================
|
| --- chrome/browser/geolocation/geolocation_permission_context_unittest.cc (revision 78781)
|
| +++ chrome/browser/geolocation/geolocation_permission_context_unittest.cc (working copy)
|
| @@ -5,7 +5,6 @@
|
| #include "base/scoped_vector.h"
|
| #include "chrome/browser/geolocation/geolocation_content_settings_map.h"
|
| #include "chrome/browser/tab_contents/confirm_infobar_delegate.h"
|
| -#include "chrome/common/render_messages.h"
|
| #include "chrome/test/testing_profile.h"
|
| #include "content/browser/browser_thread.h"
|
| #include "content/browser/geolocation/arbitrator_dependency_factories_for_test.h"
|
| @@ -16,6 +15,7 @@
|
| #include "content/browser/renderer_host/mock_render_process_host.h"
|
| #include "content/browser/renderer_host/test_render_view_host.h"
|
| #include "content/browser/tab_contents/test_tab_contents.h"
|
| +#include "content/common/geolocation_messages.h"
|
| #include "content/common/notification_details.h"
|
| #include "content/common/notification_type.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -138,10 +138,10 @@
|
| MessageLoop::current()->PostTask(FROM_HERE, new MessageLoop::QuitTask());
|
| MessageLoop::current()->Run();
|
| const IPC::Message* message = process->sink().GetFirstMessageMatching(
|
| - ViewMsg_Geolocation_PermissionSet::ID);
|
| + GeolocationMsg_PermissionSet::ID);
|
| ASSERT_TRUE(message);
|
| - ViewMsg_Geolocation_PermissionSet::Param param;
|
| - ViewMsg_Geolocation_PermissionSet::Read(message, ¶m);
|
| + GeolocationMsg_PermissionSet::Param param;
|
| + GeolocationMsg_PermissionSet::Read(message, ¶m);
|
| EXPECT_EQ(bridge_id, param.a);
|
| EXPECT_EQ(allowed, param.b);
|
| process->sink().ClearMessages();
|
|
|