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

Side by Side Diff: chrome/browser/sync/profile_sync_service_android.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
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/sync/profile_sync_service_android.h" 5 #include "chrome/browser/sync/profile_sync_service_android.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
8 #include "base/android/jni_array.h" 11 #include "base/android/jni_array.h"
9 #include "base/android/jni_string.h" 12 #include "base/android/jni_string.h"
10 #include "base/bind.h" 13 #include "base/bind.h"
11 #include "base/i18n/time_formatting.h" 14 #include "base/i18n/time_formatting.h"
12 #include "base/json/json_writer.h" 15 #include "base/json/json_writer.h"
13 #include "base/logging.h" 16 #include "base/logging.h"
14 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
15 #include "base/prefs/pref_service.h" 18 #include "base/prefs/pref_service.h"
16 #include "base/strings/utf_string_conversions.h" 19 #include "base/strings/utf_string_conversions.h"
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& obj) { 498 static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& obj) {
496 ProfileSyncServiceAndroid* profile_sync_service_android = 499 ProfileSyncServiceAndroid* profile_sync_service_android =
497 new ProfileSyncServiceAndroid(env, obj); 500 new ProfileSyncServiceAndroid(env, obj);
498 if (profile_sync_service_android->Init()) { 501 if (profile_sync_service_android->Init()) {
499 return reinterpret_cast<intptr_t>(profile_sync_service_android); 502 return reinterpret_cast<intptr_t>(profile_sync_service_android);
500 } else { 503 } else {
501 delete profile_sync_service_android; 504 delete profile_sync_service_android;
502 return 0; 505 return 0;
503 } 506 }
504 } 507 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_service_android.h ('k') | chrome/browser/sync/profile_sync_service_autofill_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698