summaryrefslogtreecommitdiffstats
path: root/android_webview/native
diff options
context:
space:
mode:
authorsgurun@chromium.org <sgurun@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-31 20:17:24 +0000
committersgurun@chromium.org <sgurun@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-31 20:17:24 +0000
commitf521ad3cede4af3e90a5c5bae1f407c6932033de (patch)
tree54118a0432e193619b23b48c61d91d315ad75db8 /android_webview/native
parent421566e138e2ceec71d533dd64762c7792f736d8 (diff)
downloadchromium_src-f521ad3cede4af3e90a5c5bae1f407c6932033de.zip
chromium_src-f521ad3cede4af3e90a5c5bae1f407c6932033de.tar.gz
chromium_src-f521ad3cede4af3e90a5c5bae1f407c6932033de.tar.bz2
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
Diffstat (limited to 'android_webview/native')
-rw-r--r--android_webview/native/aw_contents.cc7
-rw-r--r--android_webview/native/aw_contents.h2
-rw-r--r--android_webview/native/aw_http_auth_handler.cc3
3 files changed, 5 insertions, 7 deletions
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<jobject>& handler,
- const std::string& host,
- const std::string& realm) {
+void AwContents::OnReceivedHttpAuthRequest(const JavaRef<jobject>& handler,
+ const std::string& host,
+ const std::string& realm) {
JNIEnv* env = AttachCurrentThread();
ScopedJavaLocalRef<jstring> jhost = ConvertUTF8ToJavaString(env, host);
ScopedJavaLocalRef<jstring> 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<jobject>& handler,
+ void OnReceivedHttpAuthRequest(const base::android::JavaRef<jobject>& 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