From f521ad3cede4af3e90a5c5bae1f407c6932033de Mon Sep 17 00:00:00 2001 From: "sgurun@chromium.org" Date: Thu, 31 Jan 2013 20:17:24 +0000 Subject: Code conventions. Rename the method name to comply with code conventions. BUG= Review URL: https://chromiumcodereview.appspot.com/12100004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179942 0039d316-1c4b-4281-b951-d872f2087c98 --- android_webview/native/aw_contents.cc | 7 +++---- android_webview/native/aw_contents.h | 2 +- android_webview/native/aw_http_auth_handler.cc | 3 +-- 3 files changed, 5 insertions(+), 7 deletions(-) (limited to 'android_webview') diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc index a7ae2e1..479c70d 100644 --- a/android_webview/native/aw_contents.cc +++ b/android_webview/native/aw_contents.cc @@ -654,10 +654,9 @@ void AwContents::PerformLongClick() { Java_AwContents_performLongClick(env, obj.obj()); } -void AwContents::onReceivedHttpAuthRequest( - const JavaRef& handler, - const std::string& host, - const std::string& realm) { +void AwContents::OnReceivedHttpAuthRequest(const JavaRef& handler, + const std::string& host, + const std::string& realm) { JNIEnv* env = AttachCurrentThread(); ScopedJavaLocalRef jhost = ConvertUTF8ToJavaString(env, host); ScopedJavaLocalRef jrealm = ConvertUTF8ToJavaString(env, realm); diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h index 798e9c4..8b53026 100644 --- a/android_webview/native/aw_contents.h +++ b/android_webview/native/aw_contents.h @@ -86,7 +86,7 @@ class AwContents : public FindHelper::Listener, // |handler| is an instance of // org.chromium.android_webview.AwHttpAuthHandler. - void onReceivedHttpAuthRequest(const base::android::JavaRef& handler, + void OnReceivedHttpAuthRequest(const base::android::JavaRef& handler, const std::string& host, const std::string& realm); diff --git a/android_webview/native/aw_http_auth_handler.cc b/android_webview/native/aw_http_auth_handler.cc index b926a6a..2f6a8f7 100644 --- a/android_webview/native/aw_http_auth_handler.cc +++ b/android_webview/native/aw_http_auth_handler.cc @@ -61,8 +61,7 @@ void AwHttpAuthHandler::HandleOnUIThread(content::WebContents* web_contents) { DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); AwContents* aw_contents = AwContents::FromWebContents(web_contents); - aw_contents->onReceivedHttpAuthRequest( - http_auth_handler_, host_, realm_); + aw_contents->OnReceivedHttpAuthRequest(http_auth_handler_, host_, realm_); } // static -- cgit v1.1