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

Side by Side Diff: content/public/test/android/javatests/src/org/chromium/content/browser/test/ChildProcessAllocatorSettings.java

Issue 2814533002: Adding a new annotation to set ChildProcessAllocator settings in tests. (Closed)
Patch Set: Clean-up Created 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.content.browser.test;
6
7 import java.lang.annotation.ElementType;
8 import java.lang.annotation.Retention;
9 import java.lang.annotation.RetentionPolicy;
10 import java.lang.annotation.Target;
11
12 /** An annotation used in test to hard-code some of the ChildProcessAllocator se ttings */
13 @Retention(RetentionPolicy.RUNTIME)
14 @Target(ElementType.METHOD)
15 public @interface ChildProcessAllocatorSettings {
16 int sandboxedServiceCount() default -1;
17 String sandboxedServiceName() default "";
18 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698