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

Side by Side Diff: chrome/browser/search_engines/template_url_service_android.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/search_engines/template_url_service_android.h" 5 #include "chrome/browser/search_engines/template_url_service_android.h"
6 6
7 #include <stddef.h>
8
7 #include "base/android/jni_string.h" 9 #include "base/android/jni_string.h"
8 #include "base/bind.h" 10 #include "base/bind.h"
9 #include "base/format_macros.h" 11 #include "base/format_macros.h"
10 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
11 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
12 #include "chrome/browser/profiles/profile_manager.h" 14 #include "chrome/browser/profiles/profile_manager.h"
13 #include "chrome/browser/search_engines/template_url_service_factory.h" 15 #include "chrome/browser/search_engines/template_url_service_factory.h"
14 #include "components/google/core/browser/google_util.h" 16 #include "components/google/core/browser/google_util.h"
15 #include "components/search_engines/search_terms_data.h" 17 #include "components/search_engines/search_terms_data.h"
16 #include "components/search_engines/template_url.h" 18 #include "components/search_engines/template_url.h"
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& obj) { 272 static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& obj) {
271 TemplateUrlServiceAndroid* template_url_service_android = 273 TemplateUrlServiceAndroid* template_url_service_android =
272 new TemplateUrlServiceAndroid(env, obj); 274 new TemplateUrlServiceAndroid(env, obj);
273 return reinterpret_cast<intptr_t>(template_url_service_android); 275 return reinterpret_cast<intptr_t>(template_url_service_android);
274 } 276 }
275 277
276 // static 278 // static
277 bool TemplateUrlServiceAndroid::Register(JNIEnv* env) { 279 bool TemplateUrlServiceAndroid::Register(JNIEnv* env) {
278 return RegisterNativesImpl(env); 280 return RegisterNativesImpl(env);
279 } 281 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698