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

Unified Diff: content/child/process_background_message_filter.h

Issue 441003002: Revert r286729 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « content/child/child_thread.cc ('k') | content/child/process_background_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/process_background_message_filter.h
diff --git a/content/child/process_background_message_filter.h b/content/child/process_background_message_filter.h
deleted file mode 100644
index bc1e2161240cecea30b79a53654a0e60ed9eb917..0000000000000000000000000000000000000000
--- a/content/child/process_background_message_filter.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2014 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 CONTENT_CHILD_PROCESS_BACKGROUND_MESSAGE_FILTER_H_
-#define CONTENT_CHILD_PROCESS_BACKGROUND_MESSAGE_FILTER_H_
-
-#include "base/memory/ref_counted.h"
-#include "base/single_thread_task_runner.h"
-#include "base/threading/thread_checker.h"
-#include "ipc/message_filter.h"
-
-namespace base {
-class SingleThreadTaskRunner;
-}
-
-namespace content {
-
-// Receives process background messages from the browser process and processes
-// them on the IO thread.
-class ProcessBackgroundMessageFilter : public IPC::MessageFilter {
- public:
- ProcessBackgroundMessageFilter();
-
- // IPC::MessageFilter
- virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
-
- private:
- virtual ~ProcessBackgroundMessageFilter();
-
- void OnProcessBackgrounded(bool background);
- void SetTimerSlack(bool background);
-
- base::ThreadChecker thread_checker_;
- scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
-};
-
-} // namespace content
-
-#endif // CONTENT_CHILD_PROCESS_BACKGROUND_MESSAGE_FILTER_H_
« no previous file with comments | « content/child/child_thread.cc ('k') | content/child/process_background_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698