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

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: Introducing a new annotation to change child process allocator. 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
boliu 2017/04/10 18:43:41 nit: remove empty line
Jay Civelli 2017/04/10 19:43:15 Done.
14 @Retention(RetentionPolicy.RUNTIME)
15 @Target(ElementType.METHOD)
16 public @interface ChildProcessAllocatorSettings {
17 int sandboxedServiceCount() default -1;
18 String sandboxedServiceName() default "";
19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698