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

Unified Diff: chrome/android/java_staging/src/org/chromium/chrome/browser/gsa/GSAHelper.java

Issue 1206673003: Merge java_staging/src into java/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 6 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: chrome/android/java_staging/src/org/chromium/chrome/browser/gsa/GSAHelper.java
diff --git a/chrome/android/java_staging/src/org/chromium/chrome/browser/gsa/GSAHelper.java b/chrome/android/java_staging/src/org/chromium/chrome/browser/gsa/GSAHelper.java
deleted file mode 100644
index d5d074f4553e3ecebdbf40142dbd1b1765082836..0000000000000000000000000000000000000000
--- a/chrome/android/java_staging/src/org/chromium/chrome/browser/gsa/GSAHelper.java
+++ /dev/null
@@ -1,49 +0,0 @@
-// 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.browser.gsa;
-
-import android.content.Context;
-import android.os.Bundle;
-
-import org.chromium.chrome.browser.ChromeActivity;
-
-/**
- * Helper class that triggers integration methods with GSA.
- */
-public class GSAHelper {
-
- /**
- * Returns A {@link ContextReporter} instance that handles reporting context to GSA. Might
- * return null.
- */
- @SuppressWarnings("unused")
- public ContextReporter getContextReporter(ChromeActivity activity) {
- return null;
- }
-
- /**
- * Starts syncing with local indexing service.
- */
- public void startSync() {}
-
- /**
- * Get a bundle that contains the required context information to register as a client to
- * GSA service.
- * @param context The context to use while constructing the bundle.
- * @return The bundle to use for registering a {@link GSAServiceClient}.
- */
- public Bundle getBundleForRegisteringGSAClient(Context context) {
- return null;
- }
-
- /**
- * Extracts the logged in account from a given gsaState.
- * @param gsaState The GSA state byte array that contains the account information.
- * @return The account that GSA is currently logged in to. Can be null.
- */
- public String getGSAAccountFromState(byte[] gsaState) {
- return null;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698