diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-18 18:38:09 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-18 18:38:09 +0000 |
commit | 8a58f9a5e0b7e62d38ceef9c6a3b691a8593e7d9 (patch) | |
tree | 36f7876f1b49e7edf492198c79a587090e7e6233 /chrome/common/resource_dispatcher.h | |
parent | 6e42e7275a6eb6d374e74367aa6c55c1df36568a (diff) | |
download | chromium_src-8a58f9a5e0b7e62d38ceef9c6a3b691a8593e7d9.zip chromium_src-8a58f9a5e0b7e62d38ceef9c6a3b691a8593e7d9.tar.gz chromium_src-8a58f9a5e0b7e62d38ceef9c6a3b691a8593e7d9.tar.bz2 |
Remove the mostly-unused FilterPolicy class. Convert the only actually-used bit, FILTER_EXTENSION_MESSAGES, into a bool that's only passed to places that really need it.
Also renames ExtensionMessageFilterPeer to ExtensionLocalizationPeer in hopes of making its one use more apparent. I added a couple comments too.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2105006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47533 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/resource_dispatcher.h')
-rw-r--r-- | chrome/common/resource_dispatcher.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/common/resource_dispatcher.h b/chrome/common/resource_dispatcher.h index cf050a2..c98b11a 100644 --- a/chrome/common/resource_dispatcher.h +++ b/chrome/common/resource_dispatcher.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -13,7 +13,6 @@ #include "base/hash_tables.h" #include "base/shared_memory.h" #include "base/task.h" -#include "chrome/common/filter_policy.h" #include "ipc/ipc_channel.h" #include "webkit/glue/resource_loader_bridge.h" @@ -70,14 +69,12 @@ class ResourceDispatcher { const GURL& request_url) : peer(peer), resource_type(resource_type), - filter_policy(FilterPolicy::DONT_FILTER), is_deferred(false), url(request_url) { } ~PendingRequestInfo() { } webkit_glue::ResourceLoaderBridge::Peer* peer; ResourceType::Type resource_type; - FilterPolicy::Type filter_policy; MessageQueue deferred_message_queue; bool is_deferred; GURL url; |