0
Commit Graph

17 Commits

Author SHA1 Message Date
ryansturm
4bab0683f1 Bypass the DataReductionProxy for all POST requests
POST requests are non-dempotent, so clients using the Data Reduction Proxy (DRP) can often end up at an error page due to the fact that if the DRP has any problems connecting to the origin, DRP and the client will not be safely able to determine if the post successfully made it to the server. The impact of this change on data compression should be very limited, and it will improve the client's experience.

BUG=581750

Review URL: https://codereview.chromium.org/1684123004

Cr-Commit-Position: refs/heads/master@{#379137}
2016-03-03 23:43:53 +00:00
rcs@chromium.org
a702da7952 Add Finch experiment for selectively bypassing proxies.
Add option to bypass the data compression proxy if the request resource
type (as inferred by the renderer process) is not an image.

For background, see this design doc:

https://docs.google.com/a/google.com/document/d/1Kz92Fmw3lv_R-2aNvLp8jW9lkfKOZciTZtni2qQ_Adc/edit

BUG=391836

Review URL: https://codereview.chromium.org/332313003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281951 0039d316-1c4b-4281-b951-d872f2087c98
2014-07-09 05:23:54 +00:00
jam@chromium.org
e44d13473d Remove IPC_BEGIN_MESSAGE_MAP_EX macro since r270839 made all bad IPCs kill their child processes.
R=avi@chromium.org

Review URL: https://codereview.chromium.org/292443004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271096 0039d316-1c4b-4281-b951-d872f2087c98
2014-05-16 21:29:33 +00:00
jdduke@chromium.org
b51352abcd Allow MessageFilters to restrict listening to specific message classes
ChannelProxy currently offers messages to all member MessageFilters.  It turns
out that a good portion of the most common message types will never be filtered,
making the O(N) filter walk an unnecessary affair.  To prevent this, allow
MessageFilters to indicate which (if any) subset of message classes they may
filter, allowing the ChannelProxy to refine the list of filters that are offered
a particular message.  This saves ~35us per message received on the browser IO
thread for a typical Android device.

Relanding with a few more guards for MessageFilter removal, access and message
class subscription.

BUG=340881
TBR=asargent@chromium.org

Review URL: https://codereview.chromium.org/142923005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253361 0039d316-1c4b-4281-b951-d872f2087c98
2014-02-26 05:18:04 +00:00
jdduke@chromium.org
da2c4ffa21 Revert "Allow MessageFilters to restrict listening to specific message classes"
This reverts commit 2955e4e3c7.

Reason for revert: Frequent crashes on Windows.

BUG=345368
TBR=

Review URL: https://codereview.chromium.org/165333004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252428 0039d316-1c4b-4281-b951-d872f2087c98
2014-02-21 00:13:23 +00:00
jdduke@chromium.org
2955e4e3c7 Allow MessageFilters to restrict listening to specific message classes
ChannelProxy currently offers messages to all member MessageFilters.  It turns
out that a good portion of the most common message types will never be filtered,
making the O(N) filter walk an unnecessary affair.  To prevent this, allow
MessageFilters to indicate which (if any) subset of message classes they may
filter, allowing the ChannelProxy to refine the list of filters that are offered
a particular message.  This saves ~35us per message received on the browser IO
thread for a typical Android device.

BUG=340881
TBR=asargent@chromium.org

Review URL: https://codereview.chromium.org/142923005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251622 0039d316-1c4b-4281-b951-d872f2087c98
2014-02-16 22:11:26 +00:00
rsleevi@chromium.org
fc72bb18b1 Update content/ to use scoped_refptr<T>::get() rather than implicit "operator T*"
Linux fixes

BUG=110610
TBR=darin

Review URL: https://chromiumcodereview.appspot.com/16294003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203624 0039d316-1c4b-4281-b951-d872f2087c98
2013-06-02 21:13:46 +00:00
erg@chromium.org
59383c78c7 Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>.
In r174057, ajwong@ added support for implicit testing to scoped_ptr<>. Removes
these in content/.

BUG=232084

Review URL: https://codereview.chromium.org/14081010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194608 0039d316-1c4b-4281-b951-d872f2087c98
2013-04-17 16:43:27 +00:00
jam@chromium.org
464883218e Move remaining files in content\browser to the content namespace.
Review URL: https://codereview.chromium.org/11340029

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164828 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-30 03:22:20 +00:00
sail@chromium.org
d9c2e51c51 Revert 164120 - content/browser: Move more files into the content namespace.
Fixed most of the files found with the following command line:

$ git grep --files-without-match --name-only "namespace content {" -- content/browser/{*.cc,*.h.*.mm}

R=jam@chromium.org

Review URL: https://codereview.chromium.org/11274038

TBR=tfarina@chromium.org
Review URL: https://codereview.chromium.org/11273049

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164122 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-25 18:54:36 +00:00
tfarina@chromium.org
7a91c555f3 content/browser: Move more files into the content namespace.
Fixed most of the files found with the following command line:

$ git grep --files-without-match --name-only "namespace content {" -- content/browser/{*.cc,*.h.*.mm}

R=jam@chromium.org

Review URL: https://codereview.chromium.org/11274038

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164120 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-25 18:44:52 +00:00
rsleevi@chromium.org
fb90c94fa3 RefCounted types should not have public destructors, content/browser part 1
BUG=123295
TEST=none


Review URL: http://codereview.chromium.org/10068037

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134395 0039d316-1c4b-4281-b951-d872f2087c98
2012-04-27 23:40:50 +00:00
jhawkins@chromium.org
2357868189 base::Bind: Convert net/proxy.
BUG=none
TEST=none
R=csilv

Review URL: http://codereview.chromium.org/8985012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115068 0039d316-1c4b-4281-b951-d872f2087c98
2011-12-20 02:15:31 +00:00
jam@chromium.org
2dd868ff64 Stop using the default profile's proxy service for plugin proxy requests, and instead use the associated profile's proxy service. I proxy the IPC through the renderer first, as that makes it easy to get to the associated profile.
BUG=92361,64339
Review URL: http://codereview.chromium.org/7791005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98728 0039d316-1c4b-4281-b951-d872f2087c98
2011-08-29 23:03:57 +00:00
avi@chromium.org
b68bf389d1 Removal of Profile from content part 9 of 9.
BUG=76788
TEST=no change visible

Review URL: http://codereview.chromium.org/7711010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97861 0039d316-1c4b-4281-b951-d872f2087c98
2011-08-23 15:03:58 +00:00
willchan@chromium.org
9abfa1903f Deprecate Profile::GetDefaultRequestContext().
Make it private and establish a friend whitelist for existing users.

BUG=64339
TEST=none


Review URL: http://codereview.chromium.org/7438002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93200 0039d316-1c4b-4281-b951-d872f2087c98
2011-07-20 15:48:53 +00:00
jam@chromium.org
97e6c4c608 Get rid of chrome dependencies from PluginProcessHost by moving dispatching of chrome specific messages to a chrome IPC filter.
Review URL: http://codereview.chromium.org/7036025

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85767 0039d316-1c4b-4281-b951-d872f2087c98
2011-05-18 16:08:51 +00:00