Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1090)

Unified Diff: content/browser/permissions/permission_service_impl.cc

Issue 1262613005: Remove interface_impl.h and error_handler.h usage from chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/permissions/permission_service_impl.h ('k') | content/common/mojo/service_registry_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/permissions/permission_service_impl.cc
diff --git a/content/browser/permissions/permission_service_impl.cc b/content/browser/permissions/permission_service_impl.cc
index 83cb63798235cd02a6bd92c0d2757cba2cb75509..795c93b471f24bd7970086f75932463501b7e01f 100644
--- a/content/browser/permissions/permission_service_impl.cc
+++ b/content/browser/permissions/permission_service_impl.cc
@@ -68,6 +68,9 @@ PermissionServiceImpl::PermissionServiceImpl(
: context_(context),
binding_(this, request.Pass()),
weak_factory_(this) {
+ binding_.set_connection_error_handler(
+ base::Bind(&PermissionServiceImpl::OnConnectionError,
+ base::Unretained(this)));
}
PermissionServiceImpl::~PermissionServiceImpl() {
« no previous file with comments | « content/browser/permissions/permission_service_impl.h ('k') | content/common/mojo/service_registry_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698