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

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

Issue 1141283003: Upstream oodles of Chrome for Android code into Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final patch? 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 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.chrome.browser.gsa;
6
7 import android.content.Context;
8 import android.os.Bundle;
9
10 import org.chromium.chrome.browser.ChromeActivity;
11
12 /**
13 * Helper class that triggers integration methods with GSA.
14 */
15 public class GSAHelper {
16
17 /**
18 * Returns A {@link ContextReporter} instance that handles reporting context to GSA. Might
19 * return null.
20 */
21 @SuppressWarnings("unused")
22 public ContextReporter getContextReporter(ChromeActivity activity) {
23 return null;
24 }
25
26 /**
27 * Starts syncing with local indexing service.
28 */
29 public void startSync() {}
30
31 /**
32 * Get a bundle that contains the required context information to register a s a client to
33 * GSA service.
34 * @param context The context to use while constructing the bundle.
35 * @return The bundle to use for registering a {@link GSAServiceClient}.
36 */
37 public Bundle getBundleForRegisteringGSAClient(Context context) {
38 return null;
39 }
40
41 /**
42 * Extracts the logged in account from a given gsaState.
43 * @param gsaState The GSA state byte array that contains the account inform ation.
44 * @return The account that GSA is currently logged in to. Can be null.
45 */
46 public String getGSAAccountFromState(byte[] gsaState) {
47 return null;
48 }
49 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698