| Index: chrome/test/data/extensions/api_test/runtime/on_restart_required/background.js
|
| diff --git a/ui/base/cocoa/flipped_view.mm b/chrome/test/data/extensions/api_test/runtime/on_restart_required/background.js
|
| similarity index 55%
|
| copy from ui/base/cocoa/flipped_view.mm
|
| copy to chrome/test/data/extensions/api_test/runtime/on_restart_required/background.js
|
| index 57c16477a94b7b30f709bc71abbe10fe009b4ee8..64d4d0bd908be33dd48a8949df0a38cb092e8a24 100644
|
| --- a/ui/base/cocoa/flipped_view.mm
|
| +++ b/chrome/test/data/extensions/api_test/runtime/on_restart_required/background.js
|
| @@ -2,12 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#import "ui/base/cocoa/flipped_view.h"
|
| -
|
| -@implementation FlippedView
|
| -
|
| -- (BOOL)isFlipped {
|
| - return YES;
|
| +function onRestartRequired(reason) {
|
| + chrome.test.sendMessage(reason);
|
| }
|
|
|
| -@end
|
| +chrome.runtime.onRestartRequired.addListener(onRestartRequired);
|
|
|