Convert app_bindings.js to the schema_generated_bindings.js infrastructure.
This involves opening up *all* custom bindings to web pages, where access is
controlled content-script style using a URL-matches property in the API schema.


BUG=104100,117282
TEST=unit_tests,browser_tests

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=125811

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=127391

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127899 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/renderer/resource_bundle_source_map.cc b/chrome/renderer/resource_bundle_source_map.cc
index 2c06b7b..5a425820 100644
--- a/chrome/renderer/resource_bundle_source_map.cc
+++ b/chrome/renderer/resource_bundle_source_map.cc
@@ -28,7 +28,7 @@
 }
 
 bool ResourceBundleSourceMap::Contains(const std::string& name) {
-  return resource_id_map_.count(name) > 0;
+  return !!resource_id_map_.count(name);
 }
 
 v8::Handle<v8::String> ResourceBundleSourceMap::ConvertString(