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

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

Issue 1851213002: Remove sandbox on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nacl compile issues Created 4 years, 9 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 | « sandbox/win/src/threadpool_unittest.cc ('k') | sandbox/win/src/top_level_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index c9306de1cb283888dfeffbf68f80193b8620ef13..0000000000000000000000000000000000000000
--- a/sandbox/win/src/top_level_dispatcher.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SANDBOX_SRC_TOP_LEVEL_DISPATCHER_H__
-#define SANDBOX_SRC_TOP_LEVEL_DISPATCHER_H__
-
-#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
-#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"
-
-namespace sandbox {
-
-// Top level dispatcher which hands requests to the appropriate service
-// dispatchers.
-class TopLevelDispatcher : public Dispatcher {
- public:
- // |policy| must outlive this class.
- explicit TopLevelDispatcher(PolicyBase* policy);
- ~TopLevelDispatcher() override;
-
- Dispatcher* OnMessageReady(IPCParams* ipc,
- CallbackGeneric* callback) override;
- bool SetupService(InterceptionManager* manager, int service) override;
-
- private:
- // Test IPC provider.
- bool Ping(IPCInfo* ipc, void* cookie);
-
- // Returns a dispatcher from ipc_targets_.
- Dispatcher* GetDispatcher(int ipc_tag);
-
- PolicyBase* policy_;
- scoped_ptr<Dispatcher> filesystem_dispatcher_;
- scoped_ptr<Dispatcher> named_pipe_dispatcher_;
- scoped_ptr<Dispatcher> thread_process_dispatcher_;
- scoped_ptr<Dispatcher> sync_dispatcher_;
- scoped_ptr<Dispatcher> registry_dispatcher_;
- scoped_ptr<Dispatcher> handle_dispatcher_;
- scoped_ptr<Dispatcher> process_mitigations_win32k_dispatcher_;
- Dispatcher* ipc_targets_[IPC_LAST_TAG];
-
- DISALLOW_COPY_AND_ASSIGN(TopLevelDispatcher);
-};
-
-} // namespace sandbox
-
-#endif // SANDBOX_SRC_TOP_LEVEL_DISPATCHER_H__
« no previous file with comments | « sandbox/win/src/threadpool_unittest.cc ('k') | sandbox/win/src/top_level_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698