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

Unified Diff: base/process/process_handle_win.cc

Issue 1446363003: Deleted OS_WIN and all Windows specific files from base. (Closed) Base URL: https://github.com/domokit/mojo.git@base_tests
Patch Set: Created 5 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 | « base/process/process_handle.h ('k') | base/process/process_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/process_handle_win.cc
diff --git a/base/process/process_handle_win.cc b/base/process/process_handle_win.cc
deleted file mode 100644
index f2ffff8e882c14544b18f1ad26262e18913f5134..0000000000000000000000000000000000000000
--- a/base/process/process_handle_win.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2013 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.
-
-#include "base/process/process_handle.h"
-
-#include <windows.h>
-
-#include "base/memory/scoped_ptr.h"
-#include "base/win/scoped_handle.h"
-#include "base/win/windows_version.h"
-
-namespace base {
-
-ProcessId GetCurrentProcId() {
- return ::GetCurrentProcessId();
-}
-
-ProcessHandle GetCurrentProcessHandle() {
- return ::GetCurrentProcess();
-}
-
-ProcessId GetProcId(ProcessHandle process) {
- // This returns 0 if we have insufficient rights to query the process handle.
- return GetProcessId(process);
-}
-
-} // namespace base
« no previous file with comments | « base/process/process_handle.h ('k') | base/process/process_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698