| Index: chrome/test/android/javatests/src/org/chromium/chrome/test/util/ChromeRestriction.java
|
| diff --git a/chrome/test/android/javatests/src/org/chromium/chrome/test/util/ChromeRestriction.java b/chrome/test/android/javatests/src/org/chromium/chrome/test/util/ChromeRestriction.java
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a67f8e25c77a25239b8e5d0fb1924cdeb62ab6d8
|
| --- /dev/null
|
| +++ b/chrome/test/android/javatests/src/org/chromium/chrome/test/util/ChromeRestriction.java
|
| @@ -0,0 +1,18 @@
|
| +// Copyright 2015 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.
|
| +
|
| +package org.chromium.chrome.test.util;
|
| +
|
| +/**
|
| + * Restrictions that are usable with the @Restriction enum but in the chrome/ layer.
|
| + * e.g. @Restriction({ChromeRestriction.RESTRICTION_TYPE_PHONE})
|
| + */
|
| +public final class ChromeRestriction {
|
| + /** Specifies the test is only valid on a device that has up to date play services. */
|
| + public static final String RESTRICTION_TYPE_GOOGLE_PLAY_SERVICES = "Google_Play_Services";
|
| + /** Specifies the test is only valid on phone form factors. */
|
| + public static final String RESTRICTION_TYPE_PHONE = "Phone";
|
| + /** Specifies the test is only valid on tablet form factors. */
|
| + public static final String RESTRICTION_TYPE_TABLET = "Tablet";
|
| +}
|
|
|