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

Unified Diff: chrome/common/chrome_process_filter.h

Issue 54003: Replace chrome_process_filter with chrome_process_util. (Closed)
Patch Set: error handling Created 11 years, 8 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 | « chrome/chrome.gyp ('k') | chrome/common/chrome_process_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_process_filter.h
diff --git a/chrome/common/chrome_process_filter.h b/chrome/common/chrome_process_filter.h
deleted file mode 100644
index 8421fce7cc6fedad297984ffecc4b9de679e38e4..0000000000000000000000000000000000000000
--- a/chrome/common/chrome_process_filter.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (c) 2006-2008 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 CHROME_COMMON_CHROME_PROCESS_FILTER_H__
-#define CHROME_COMMON_CHROME_PROCESS_FILTER_H__
-
-#include "base/process_util.h"
-
-// Filter all chrome browser processes that run with the same user data
-// directory.
-class BrowserProcessFilter : public base::ProcessFilter {
- public:
- // Create the filter for the given user_data_dir.
- // If user_data_dir is an empty string, will use the PathService
- // user_data_dir (e.g. chrome::DIR_USER_DATA).
- explicit BrowserProcessFilter(const std::wstring user_data_dir);
-
- uint32 browser_process_id() const { return browser_process_id_; }
-
- virtual bool Includes(base::ProcessId pid, base::ProcessId parent_pid) const;
-
- private:
- std::wstring user_data_dir_;
- DWORD browser_process_id_;
-
- DISALLOW_EVIL_CONSTRUCTORS(BrowserProcessFilter);
-};
-
-#endif // CHROME_COMMON_CHROME_PROCESS_FILTER_H__
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/common/chrome_process_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698