Use a struct to pass parameters in the navigation interception callback.
commitc0d243a6c23df9983e1ba039bbe760d0cf047ca5
authormkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 31 Jan 2013 21:20:16 +0000 (31 21:20 +0000)
committermkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 31 Jan 2013 21:20:16 +0000 (31 21:20 +0000)
treef3bbe0a34e3c59f9834a6aba3da4140d2c267e94
parent87eca1838758e781bd4359a8d675bc316b8ee366
Use a struct to pass parameters in the navigation interception callback.

The number of parameters in the InterceptNavigationResourceThrottle
has gone over the maximum size supported by base::Bind.

BUG=None
TEST=components_unittests,AndroidWebViewTests
TBR=joi@chromium.org

Review URL: https://chromiumcodereview.appspot.com/12082049

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179956 0039d316-1c4b-4281-b951-d872f2087c98
13 files changed:
android_webview/java/src/org/chromium/android_webview/AwContents.java
components/navigation_interception.gypi
components/navigation_interception/android/java/src/org/chromium/content/components/navigation_interception/InterceptNavigationDelegate.java
components/navigation_interception/component_jni_registrar.cc
components/navigation_interception/intercept_navigation_delegate.cc
components/navigation_interception/intercept_navigation_delegate.h
components/navigation_interception/intercept_navigation_resource_throttle.cc
components/navigation_interception/intercept_navigation_resource_throttle.h
components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc
components/navigation_interception/navigation_params.cc [new file with mode: 0644]
components/navigation_interception/navigation_params.h [new file with mode: 0644]
components/navigation_interception/navigation_params_android.cc [new file with mode: 0644]
components/navigation_interception/navigation_params_android.h [new file with mode: 0644]