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

Unified Diff: remoting/host/remoting_me2me_host.cc

Issue 8662001: Remove AccessVerifier interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 1 month 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 | « remoting/host/plugin/host_script_object.cc ('k') | remoting/host/self_access_verifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/remoting_me2me_host.cc
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
index b16fafae3c4893ae76e38f7115944012e384a462..f55f9c8a75967d884ae46ab514f378b97f0e0026 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -28,7 +28,6 @@
#include "remoting/host/heartbeat_sender.h"
#include "remoting/host/host_config.h"
#include "remoting/host/json_host_config.h"
-#include "remoting/host/self_access_verifier.h"
#if defined(TOOLKIT_USES_GTK)
#include "ui/gfx/gtk_util.h"
@@ -87,21 +86,12 @@ class HostProcess {
return 1;
}
- // Initialize AccessVerifier.
- scoped_ptr<remoting::SelfAccessVerifier> self_access_verifier(
- new remoting::SelfAccessVerifier());
- if (!self_access_verifier->Init(host_config_)) {
- context.Stop();
- return 1;
- }
-
// Create the DesktopEnvironment and ChromotingHost.
scoped_ptr<DesktopEnvironment> desktop_environment(
DesktopEnvironment::Create(&context));
- host_ = ChromotingHost::Create(&context, host_config_,
- desktop_environment.get(),
- self_access_verifier.release(), false);
+ host_ = ChromotingHost::Create(
+ &context, host_config_, desktop_environment.get(), false);
// Initialize HeartbeatSender.
scoped_ptr<remoting::HeartbeatSender> heartbeat_sender(
« no previous file with comments | « remoting/host/plugin/host_script_object.cc ('k') | remoting/host/self_access_verifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698