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

Unified Diff: content/test/mock_chrome_application_mac.mm

Issue 8724004: [Mac] Move ScopedSendingEvent from content/common/mac to base/mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add CrAppControlProtocol support to CrDrtApplication Created 9 years, 1 month 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: content/test/mock_chrome_application_mac.mm
diff --git a/content/test/mock_chrome_application_mac.mm b/content/test/mock_chrome_application_mac.mm
deleted file mode 100644
index a5d4c0cf97e6d7e7862496e5b04fe064edc48d5e..0000000000000000000000000000000000000000
--- a/content/test/mock_chrome_application_mac.mm
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/test/mock_chrome_application_mac.h"
-
-#include "testing/gtest/include/gtest/gtest.h"
-
-@implementation MockCrControlApp
-
-- (BOOL)isHandlingSendEvent {
- return isHandlingSendEvent_;
-}
-
-- (void)setHandlingSendEvent:(BOOL)handlingSendEvent {
- isHandlingSendEvent_ = handlingSendEvent;
-}
-
-@end
-
-namespace mock_cr_app {
-
-void RegisterMockCrControlApp() {
- NSApplication* app = [MockCrControlApp sharedApplication];
- ASSERT_TRUE([app conformsToProtocol:@protocol(CrAppControlProtocol)]);
-}
-
-} // namespace mock_cr_app

Powered by Google App Engine
This is Rietveld 408576698