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

Unified Diff: components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/apiary/OAuthResult.java

Issue 1142463003: Remove devtools_bridge component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/apiary/OAuthResult.java
diff --git a/components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/apiary/OAuthResult.java b/components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/apiary/OAuthResult.java
deleted file mode 100644
index 3c9c5acee046905528ca757e7f571a18eec4033e..0000000000000000000000000000000000000000
--- a/components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/apiary/OAuthResult.java
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2014 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.components.devtools_bridge.apiary;
-
-/**
- * Pair of refresh/access tokens fetched with OAuthClient.
- */
-public class OAuthResult {
- public String refreshToken;
- public String accessToken;
- public final long expirationTimeMs; // In milliseconds.
-
- private OAuthResult(String refreshToken, String accessToken, long expirationTimeMs) {
- assert refreshToken != null;
-
- this.refreshToken = refreshToken;
- this.accessToken = accessToken;
- this.expirationTimeMs = expirationTimeMs;
- }
-
- public static OAuthResult create(
- String refreshToken, String accessToken, long expirationTimeMs) {
- return refreshToken != null
- ? new OAuthResult(refreshToken, accessToken, expirationTimeMs) : null;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698