Commit 376c903d authored by Robert Sesek's avatar Robert Sesek Committed by Commit Bot

Delete old and unused injection_test_mac.h

Change-Id: Ib204efb0b0bdebf3188da7e8afd153ace9efbcf2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2452569
Commit-Queue: Avi Drissman <avi@chromium.org>
Auto-Submit: Robert Sesek <rsesek@chromium.org>
Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#814228}
parent 8ba2d9ea
......@@ -188,10 +188,6 @@ source_set("common_sources") {
sources += [ "common_sandbox_support_linux.h" ]
}
if (is_mac) {
sources += [ "injection_test_mac.h" ]
}
configs += [
"//build/config:precompiled_headers",
"//content:content_implementation",
......
// 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.
#ifndef CONTENT_PUBLIC_COMMON_INJECTION_TEST_MAC_H_
#define CONTENT_PUBLIC_COMMON_INJECTION_TEST_MAC_H_
#import <Foundation/Foundation.h>
#include <string>
// Callback function used by sandbox tests to print error messages. It's
// provided in order to avoid linking the logging code of the renderer into this
// loadable bundle. RendererMainPlatformDelegate provides an implementation.
//
// |message| - the message that's printed.
// |is_error| - true if this is an error message, false if an info message.
typedef void (*LogRendererSandboxTestMessage)(std::string message,
bool is_error);
// An ObjC wrapper around sandbox tests.
@interface RendererSandboxTestsRunner : NSObject
// Sets the function that logs the progress of the tests.
+ (void)setLogFunction:(LogRendererSandboxTestMessage)logFunction;
// Runs all tests and logs its progress using the provided log function.
// Returns YES if all tests passed, NO otherwise. This method should be called
// after the sandbox has been turned on.
+ (BOOL)runTests;
@end
#endif // CONTENT_PUBLIC_COMMON_INJECTION_TEST_MAC_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment