| Index: base/mac/scoped_sending_event_unittest.mm
|
| diff --git a/content/common/mac/scoped_sending_event_unittest.mm b/base/mac/scoped_sending_event_unittest.mm
|
| similarity index 79%
|
| rename from content/common/mac/scoped_sending_event_unittest.mm
|
| rename to base/mac/scoped_sending_event_unittest.mm
|
| index 510a821c7843428f10ab7709663dd0d2b10fffba..9ae99856c9e76e37b169e4d886ccea42a51eddcb 100644
|
| --- a/content/common/mac/scoped_sending_event_unittest.mm
|
| +++ b/base/mac/scoped_sending_event_unittest.mm
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#import "content/common/mac/scoped_sending_event.h"
|
| +#import "base/mac/scoped_sending_event.h"
|
|
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -13,7 +13,7 @@ TEST(ScopedSendingEventTest, SetHandlingSendEvent) {
|
| id<CrAppProtocol> app = NSApp;
|
| EXPECT_FALSE([app isHandlingSendEvent]);
|
| {
|
| - content::mac::ScopedSendingEvent is_handling_send_event;
|
| + base::mac::ScopedSendingEvent is_handling_send_event;
|
| EXPECT_TRUE([app isHandlingSendEvent]);
|
| }
|
| EXPECT_FALSE([app isHandlingSendEvent]);
|
| @@ -24,10 +24,10 @@ TEST(ScopedSendingEventTest, NestedSetHandlingSendEvent) {
|
| id<CrAppProtocol> app = NSApp;
|
| EXPECT_FALSE([app isHandlingSendEvent]);
|
| {
|
| - content::mac::ScopedSendingEvent is_handling_send_event;
|
| + base::mac::ScopedSendingEvent is_handling_send_event;
|
| EXPECT_TRUE([app isHandlingSendEvent]);
|
| {
|
| - content::mac::ScopedSendingEvent nested_is_handling_send_event;
|
| + base::mac::ScopedSendingEvent nested_is_handling_send_event;
|
| EXPECT_TRUE([app isHandlingSendEvent]);
|
| }
|
| EXPECT_TRUE([app isHandlingSendEvent]);
|
|
|