Refactor ScopedJavaRef

- introduces JavaRef<> base class to allow passing refs without knowledge of their scope
- makes the ScopedJavaLocalRef and ScopedJavaGlobalRef consistent, in name, in methods available, and in conversions allowed.
Also updates some other minor base API changes whilst I'm in those files.

BUG=
TEST=doesn't break build...

Review URL: http://codereview.chromium.org/7828084

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100383 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: f98d7b97c373ad9d65cc102f19acdc43ec3da604
14 files changed
tree: f08fabe9f41b8dd18517d40547606d471753c8ad
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/