Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2095)

Unified Diff: chrome/browser/notifications/platform_notification_service_unittest.cc

Issue 1942353002: (reland) Move permission.mojom from WebKit/public/platform/ to components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/notifications/platform_notification_service_unittest.cc
diff --git a/chrome/browser/notifications/platform_notification_service_unittest.cc b/chrome/browser/notifications/platform_notification_service_unittest.cc
index 12872acc57629820439219d1222f1b3ce2cc7409..41ede48e1cad7a6e9b4e29cb357626132e827cb4 100644
--- a/chrome/browser/notifications/platform_notification_service_unittest.cc
+++ b/chrome/browser/notifications/platform_notification_service_unittest.cc
@@ -23,13 +23,13 @@
#include "chrome/test/base/testing_profile.h"
#include "chrome/test/base/testing_profile_manager.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
+#include "components/permissions/permission_status.mojom.h"
#include "content/public/browser/desktop_notification_delegate.h"
#include "content/public/common/notification_resources.h"
#include "content/public/common/platform_notification_data.h"
#include "content/public/test/test_browser_thread_bundle.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "third_party/WebKit/public/platform/modules/permissions/permission_status.mojom.h"
#if defined(ENABLE_EXTENSIONS)
#include "base/command_line.h"
@@ -395,9 +395,8 @@ TEST_F(PlatformNotificationServiceTest, ExtensionPermissionChecks) {
// Verify that the service indicates that permission has been granted. We only
// check the UI thread-method for now, as that's the one guarding the behavior
// in the browser process.
- EXPECT_EQ(blink::mojom::PermissionStatus::GRANTED,
- service()->CheckPermissionOnUIThread(profile(),
- extension->url(),
+ EXPECT_EQ(permissions::mojom::PermissionStatus::GRANTED,
+ service()->CheckPermissionOnUIThread(profile(), extension->url(),
kFakeRenderProcessId));
}

Powered by Google App Engine
This is Rietveld 408576698