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

Side by Side Diff: chrome/browser/signin/oauth2_token_service_delegate_android.cc

Issue 1475773002: Add context_utils.h includes where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/signin/oauth2_token_service_delegate_android.h" 5 #include "chrome/browser/signin/oauth2_token_service_delegate_android.h"
6 6
7 #include "base/android/context_utils.h"
7 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
8 #include "base/android/jni_array.h" 9 #include "base/android/jni_array.h"
9 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
10 #include "base/bind.h" 11 #include "base/bind.h"
11 #include "base/logging.h" 12 #include "base/logging.h"
12 #include "chrome/browser/profiles/profile_android.h" 13 #include "chrome/browser/profiles/profile_android.h"
13 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" 14 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
14 #include "chrome/browser/sync/profile_sync_service_android.h" 15 #include "chrome/browser/sync/profile_sync_service_android.h"
15 #include "components/signin/core/browser/account_info.h" 16 #include "components/signin/core/browser/account_info.h"
16 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 : isTransientError 567 : isTransientError
567 ? GoogleServiceAuthError::CONNECTION_FAILED 568 ? GoogleServiceAuthError::CONNECTION_FAILED
568 : GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS); 569 : GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS);
569 heap_callback->Run(err, token, base::Time()); 570 heap_callback->Run(err, token, base::Time());
570 } 571 }
571 572
572 // static 573 // static
573 bool OAuth2TokenServiceDelegateAndroid::Register(JNIEnv* env) { 574 bool OAuth2TokenServiceDelegateAndroid::Register(JNIEnv* env) {
574 return RegisterNativesImpl(env); 575 return RegisterNativesImpl(env);
575 } 576 }
OLDNEW
« no previous file with comments | « chrome/browser/notifications/notification_ui_manager_android.cc ('k') | chrome/browser/speech/tts_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698