| Index: chrome/browser/geolocation/geolocation_permission_context_unittest.cc
|
| diff --git a/chrome/browser/geolocation/geolocation_permission_context_unittest.cc b/chrome/browser/geolocation/geolocation_permission_context_unittest.cc
|
| index 81d8c6e2f02d8d159f9de93e29eee61a0bab9a97..a0e8add807e10d4e6c8302834c67b32a1f41a4fc 100644
|
| --- a/chrome/browser/geolocation/geolocation_permission_context_unittest.cc
|
| +++ b/chrome/browser/geolocation/geolocation_permission_context_unittest.cc
|
| @@ -48,6 +48,7 @@
|
| #include "content/public/test/test_renderer_host.h"
|
| #include "content/public/test/test_utils.h"
|
| #include "content/public/test/web_contents_tester.h"
|
| +#include "extensions/features/features.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| #if BUILDFLAG(ANDROID_JAVA_UI)
|
| @@ -59,7 +60,7 @@
|
| #include "chrome/browser/ui/website_settings/mock_permission_prompt_factory.h"
|
| #endif
|
|
|
| -#if defined(ENABLE_EXTENSIONS)
|
| +#if BUILDFLAG(ENABLE_EXTENSIONS)
|
| #include "extensions/browser/view_type_utils.h"
|
| #endif
|
|
|
| @@ -247,7 +248,7 @@ void GeolocationPermissionContextTests::AddNewTab(const GURL& url) {
|
| ->SendNavigate(entry->GetUniqueID(), true, url);
|
|
|
| // Set up required helpers, and make this be as "tabby" as the code requires.
|
| -#if defined(ENABLE_EXTENSIONS)
|
| +#if BUILDFLAG(ENABLE_EXTENSIONS)
|
| extensions::SetViewType(new_tab, extensions::VIEW_TYPE_TAB_CONTENTS);
|
| #endif
|
|
|
| @@ -280,7 +281,7 @@ void GeolocationPermissionContextTests::SetUp() {
|
| ChromeRenderViewHostTestHarness::SetUp();
|
|
|
| // Set up required helpers, and make this be as "tabby" as the code requires.
|
| -#if defined(ENABLE_EXTENSIONS)
|
| +#if BUILDFLAG(ENABLE_EXTENSIONS)
|
| extensions::SetViewType(web_contents(), extensions::VIEW_TYPE_TAB_CONTENTS);
|
| #endif
|
| InfoBarService::CreateForWebContents(web_contents());
|
|
|