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

Unified Diff: sandbox/win/src/top_level_dispatcher.h

Issue 1460903002: Unify PolicyBase into TargetPolicy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@policy_dispatcher
Patch Set: Rebase. Created 5 years 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
Index: sandbox/win/src/top_level_dispatcher.h
diff --git a/sandbox/win/src/top_level_dispatcher.h b/sandbox/win/src/top_level_dispatcher.h
index c9306de1cb283888dfeffbf68f80193b8620ef13..22b94c8c5fa15aacb5a5b590654cbb3a8c818196 100644
--- a/sandbox/win/src/top_level_dispatcher.h
+++ b/sandbox/win/src/top_level_dispatcher.h
@@ -10,7 +10,7 @@
#include "sandbox/win/src/crosscall_server.h"
#include "sandbox/win/src/interception.h"
#include "sandbox/win/src/ipc_tags.h"
-#include "sandbox/win/src/sandbox_policy_base.h"
+#include "sandbox/win/src/sandbox_policy.h"
namespace sandbox {
@@ -19,7 +19,7 @@ namespace sandbox {
class TopLevelDispatcher : public Dispatcher {
public:
// |policy| must outlive this class.
- explicit TopLevelDispatcher(PolicyBase* policy);
+ explicit TopLevelDispatcher(TargetPolicy* policy);
~TopLevelDispatcher() override;
Dispatcher* OnMessageReady(IPCParams* ipc,
@@ -33,7 +33,7 @@ class TopLevelDispatcher : public Dispatcher {
// Returns a dispatcher from ipc_targets_.
Dispatcher* GetDispatcher(int ipc_tag);
- PolicyBase* policy_;
+ TargetPolicy* policy_;
scoped_ptr<Dispatcher> filesystem_dispatcher_;
scoped_ptr<Dispatcher> named_pipe_dispatcher_;
scoped_ptr<Dispatcher> thread_process_dispatcher_;

Powered by Google App Engine
This is Rietveld 408576698