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

Unified Diff: content/shell/browser/shell_message_filter.h

Issue 659073004: Content Shell: Move ShellMessageFilter to LayoutTestMessageFilter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cs-move-cbc
Patch Set: another (tentative) rebase Created 6 years, 2 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
Index: content/shell/browser/shell_message_filter.h
diff --git a/content/shell/browser/shell_message_filter.h b/content/shell/browser/shell_message_filter.h
deleted file mode 100644
index 6f501d4b487a6b95473ee7260b6a37272734f2ba..0000000000000000000000000000000000000000
--- a/content/shell/browser/shell_message_filter.h
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright 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.
-
-#ifndef CONTENT_SHELL_BROWSER_SHELL_MESSAGE_FILTER_H_
-#define CONTENT_SHELL_BROWSER_SHELL_MESSAGE_FILTER_H_
-
-#include <string>
-#include <vector>
-
-#include "base/basictypes.h"
-#include "base/files/file_path.h"
-#include "content/public/browser/browser_message_filter.h"
-
-class GURL;
-
-namespace net {
-class URLRequestContextGetter;
-}
-
-namespace storage {
-class QuotaManager;
-}
-
-namespace storage {
-class DatabaseTracker;
-}
-
-namespace content {
-
-class ShellMessageFilter : public BrowserMessageFilter {
- public:
- ShellMessageFilter(int render_process_id,
- storage::DatabaseTracker* database_tracker,
- storage::QuotaManager* quota_manager,
- net::URLRequestContextGetter* request_context_getter);
-
- private:
- virtual ~ShellMessageFilter();
-
- // BrowserMessageFilter implementation.
- virtual void OverrideThreadForMessage(const IPC::Message& message,
- BrowserThread::ID* thread) override;
- virtual bool OnMessageReceived(const IPC::Message& message) override;
-
- void OnReadFileToString(const base::FilePath& local_file,
- std::string* contents);
- void OnRegisterIsolatedFileSystem(
- const std::vector<base::FilePath>& absolute_filenames,
- std::string* filesystem_id);
- void OnClearAllDatabases();
- void OnSetDatabaseQuota(int quota);
- void OnCheckWebNotificationPermission(const GURL& origin, int* result);
- void OnGrantWebNotificationPermission(const GURL& origin,
- bool permission_granted);
- void OnClearWebNotificationPermissions();
- void OnAcceptAllCookies(bool accept);
- void OnDeleteAllCookies();
-
- int render_process_id_;
-
- storage::DatabaseTracker* database_tracker_;
- storage::QuotaManager* quota_manager_;
- net::URLRequestContextGetter* request_context_getter_;
-
- DISALLOW_COPY_AND_ASSIGN(ShellMessageFilter);
-};
-
-} // namespace content
-
-#endif // CONTENT_SHELL_BROWSER_SHELL_MESSAGE_FILTER_H_
« no previous file with comments | « content/shell/browser/shell_content_browser_client.cc ('k') | content/shell/browser/shell_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698