summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net
Commit message (Collapse)AuthorAgeFilesLines
* Attempt 2 at: Splits ChromeURLDataManager into 2 chunks:sky@chromium.org2011-02-092-0/+12
| | | | | | | | | | | | | | | | | | | | | | . ChromeURLDataManager is no longer a singleton and is always used on the UI thread. ChromeURLDataManager is now profile specific (you get from the profile). . ChromeURLDataManagerBackend handles the URLRequests and the DataSources. ChromeURLDataManagerBackend is created by ChromeURLRequestContext. All DataSources are now profile specific. There were two that wanted to be global, but have been converted. This differs from the version I landed in that there is now a NULL check in ChromeURLDataManager::DeleteDataSources. BUG=52022 71868 TEST=none TBR=willchan, evan, ahendrickson Review URL: http://codereview.chromium.org/6462036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74340 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 74292 - Splits ChromeURLDataManager into 2 chunks:sky@chromium.org2011-02-092-12/+0
| | | | | | | | | | | | | | | | | | | | | | . ChromeURLDataManager is no longer a singleton and is always used on the UI thread. ChromeURLDataManager is now profile specific (you get from the profile). . ChromeURLDataManagerBackend handles the URLRequests and the DataSources. ChromeURLDataManagerBackend is created by ChromeURLRequestContext. All DataSources are now profile specific. There were two that wanted to be global, but have been converted. BUG=52022 71868 TEST=none Review URL: http://codereview.chromium.org/6286131 TBR=sky@chromium.org Review URL: http://codereview.chromium.org/6461024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74294 0039d316-1c4b-4281-b951-d872f2087c98
* Splits ChromeURLDataManager into 2 chunks:sky@chromium.org2011-02-092-0/+12
| | | | | | | | | | | | | | | | | | | . ChromeURLDataManager is no longer a singleton and is always used on the UI thread. ChromeURLDataManager is now profile specific (you get from the profile). . ChromeURLDataManagerBackend handles the URLRequests and the DataSources. ChromeURLDataManagerBackend is created by ChromeURLRequestContext. All DataSources are now profile specific. There were two that wanted to be global, but have been converted. BUG=52022 71868 TEST=none Review URL: http://codereview.chromium.org/6286131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74292 0039d316-1c4b-4281-b951-d872f2087c98
* Make proxy settings one atomic dictionary in the PrefStores such that ↵battre@chromium.org2011-02-092-39/+20
| | | | | | | | | | | modifications are atomic. BUG=67779,70904 TEST=none Review URL: http://codereview.chromium.org/6240013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74284 0039d316-1c4b-4281-b951-d872f2087c98
* First crack at FileSystemURLRequestJob for handling filesystem: URLs.adamk@chromium.org2011-02-082-0/+49
| | | | | | | | Disabled behind a switch, "--enable-filesystem-url-scheme". Review URL: http://codereview.chromium.org/6262015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74082 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Task Manager to correctly display network usage of plug-in processes.ajwong@chromium.org2011-02-052-27/+26
| | | | | | | | | | | | BUG=chromium-os:2954 TEST=Run Chrome and open Task Manager, then play a video in YouTube and check whether the Network usage is correctly reported against the plug-in. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=73884 Review URL: http://codereview.chromium.org/6328010 Patch from James Weatherall <wez@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73915 0039d316-1c4b-4281-b951-d872f2087c98
* This reverts commit r73836.ajwong@chromium.org2011-02-052-26/+27
| | | | | | TBR=wez git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73886 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Task Manager to correctly display network usage of plug-in processes.ajwong@chromium.org2011-02-052-27/+26
| | | | | | | | | | BUG=chromium-os:2954 TEST=Run Chrome and open Task Manager, then play a video in YouTube and check whether the Network usage is correctly reported against the plug-in. Review URL: http://codereview.chromium.org/6328010 Patch from James Weatherall <wez@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73884 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor HttpNetworkSession construction.willchan@chromium.org2011-02-033-35/+20
| | | | | | | | | | | Introduce HttpNetworkSession::Params. This should make it easy to add new optionally NULL parameters. I also took this opportunity to eliminate some copy/pastes of TestURLRequestContext and make them use the original. I was also able to remove the need for ClientSocketFactory::GetDefaultFactory() calls and new SpdySessionPool() calls in most places. BUG=none TEST=none Review URL: http://codereview.chromium.org/6349028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73669 0039d316-1c4b-4281-b951-d872f2087c98
* Create a ProfileIOData object to own ChromeURLRequestContext members.willchan@chromium.org2011-02-032-93/+56
| | | | | | | | | | | | | This is the beginning of the ProfileIOData object. I hope to move more and more ChromeURLRequestContext members into it, so we can stop refcounting the members. Originally, I wanted ProfileIOData to own the ChromeURLRequestContext objects, but it would have caused too many difficulties with lifetime management for now. I'll save that for the future. This is an improvement since now URLRequestContext's members don't always have to be refcounted. TODO: Create an analog for OffTheRecordProfile objects. BUG=67237 TEST=existing Review URL: http://codereview.chromium.org/6315013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73651 0039d316-1c4b-4281-b951-d872f2087c98
* Implements chrome as a dbus service that exposes chrome functionalities, inkuan@chromium.org2011-02-021-5/+17
| | | | | | | | | | | | | | | | addition to its client role that listens to signals from other chromeos dbus services. For now, it exposes the functionality of resolving network proxies for specified urls from chromeos clients. Implements read-write access APIs for proxy settings, will be used by UI to check if current user can read or write proxy settings. BUG=chromium-os:8890,chromium-os:6839 TEST=none Review URL: http://codereview.chromium.org/5054001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73487 0039d316-1c4b-4281-b951-d872f2087c98
* Remove user-related data from local_state and add to user_preferences, in ↵mirandac@chromium.org2011-02-021-6/+6
| | | | | | | | | | | | | | | | | | | | preparation for multi-profile. devtools kDevToolsSplitLocation browser kBrowserWindowPlacement Also add a method to browser_prefs to delete obsolete preferences from local state, and fix all related tests. BUG=66717 TEST=all browser, interactive, and ui tests work properly Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72153 Review URL: http://codereview.chromium.org/5915006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73481 0039d316-1c4b-4281-b951-d872f2087c98
* Unreverting: First steps towards webRequest extension API.mpcomplete@chromium.org2011-02-014-6/+39
| | | | | | | | | | | | | | Only an asynchronous version of onBeforeRequest is implement, with limited data being passed. Original CL: http://src.chromium.org/viewvc/chrome?view=rev&revision=73196 BUG=60101 TEST=no Review URL: http://codereview.chromium.org/6246032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73344 0039d316-1c4b-4281-b951-d872f2087c98
* net: Add namespace net to Sdch* classes.tfarina@chromium.org2011-02-012-10/+15
| | | | | | | | | BUG=64263 TEST=compiled locally and trybots Review URL: http://codereview.chromium.org/6347033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73249 0039d316-1c4b-4281-b951-d872f2087c98
* Rename Real* to Double* in values.* and dependent filesarv@chromium.org2011-02-012-2/+2
| | | | | | | | | BUG=None TEST=Compiles and passes all tests Review URL: http://codereview.chromium.org/6248026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73232 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "First steps towards webRequest extension API."mpcomplete@chromium.org2011-01-314-39/+6
| | | | | | | | | | | | | | | Seems to have broken the sync_integration_tests. This reverts commit d6f8d16cd6a5ebdf019c4755e7d42aee8136abf1. TBR=aa BUG=60101 TEST=no Review URL: http://codereview.chromium.org/6287029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73219 0039d316-1c4b-4281-b951-d872f2087c98
* First steps towards webRequest extension API.mpcomplete@chromium.org2011-01-314-6/+39
| | | | | | | | | | | | Only an asynchronous version of onBeforeRequest is implement, with limited data being passed. BUG=60101 TEST=no Review URL: http://codereview.chromium.org/6288014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73196 0039d316-1c4b-4281-b951-d872f2087c98
* Move ExtensionRendereInfo into common and call it ExtensionSet instead.aa@chromium.org2011-01-291-0/+1
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6383013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73055 0039d316-1c4b-4281-b951-d872f2087c98
* Part 2 of repairing regressions to my old clang check plugins so Nico canerg@google.com2011-01-282-1/+7
| | | | | | | | | | | deploy the clang plugins to the waterfall/trybots. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6272025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73014 0039d316-1c4b-4281-b951-d872f2087c98
* Don't delete the URLRequest within the completion callback, in the ↵eroman@chromium.org2011-01-281-1/+18
| | | | | | | | | | | ConnectionTester, as that was leading to a wonky teardown. BUG=70805 TEST=There isn't a specific regression test for this, other than existing unit tests should still pass. Can test manually by loading up some SPDY urls in about:net-internals/#tests. Review URL: http://codereview.chromium.org/6283014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72937 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify HttpCache/HttpNetworkLayer/HttpNetworkSession interaction.willchan@chromium.org2011-01-283-52/+40
| | | | | | | | | | | | | Eliminate lazy initialization of HttpNetworkSession in HttpNetworkLayer. * This eliminates the need to update parameters for HttpNetworkLayer, it just takes a HttpNetworkSession. * It is OK to eliminate lazy initialization since these variables are cheap. BUG=none TEST=none Review URL: http://codereview.chromium.org/6402002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72931 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ChromeURLRequestContext::IsExternal().willchan@chromium.org2011-01-282-8/+0
| | | | | | | | | | | It doesn't appear to be used anywhere. BUG=68766 TEST=none Review URL: http://codereview.chromium.org/6273018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72906 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded includes of notification_registrar.h.thestig@chromium.org2011-01-271-1/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6309018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72874 0039d316-1c4b-4281-b951-d872f2087c98
* Use IOThread::Globals where possible in ChromeURLRequestContextwillchan@chromium.org2011-01-261-22/+18
| | | | | | | | | BUG=70560 TEST=none Review URL: http://codereview.chromium.org/6379005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72605 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the ability to load JSON log files to about:net-internals.mmenke@google.com2011-01-263-7/+35
| | | | | | | | | | | | | | | | Only works with logs created by the new "--log-net-log=file", which writes NetLog events to the specified file, regardless of other logging command line parameters. Using "--log-net-log" without a file name will just write NetLog events to VLOG(1), as before. BUG=63687 TEST=None Review URL: http://codereview.chromium.org/6025017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72567 0039d316-1c4b-4281-b951-d872f2087c98
* Remove wstring from autocomplete.avi@chromium.org2011-01-252-1/+59
| | | | | | | | | | | Recommit of r72380. BUG=23581 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6306011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72492 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce incognito preference settings.battre@chromium.org2011-01-251-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL introduces preference settings for incognito windows. The semantics are the following: - An extension can set regular preferences as before. These affect regular and incognito windows. - An extension can set regular preferences *and* incognito preferences. In this case, the incognito preferences affect only incognito windows. - If extension A sets reg+incognito, extension B sets reg but no incognito, extension B has higher precedence than A --> B's preferences hold for all regular and incognito windows. - Incognito preferences are never persisted to disk. In order to realize this, the ExtensionPrefs class allows setting regular and incognito extension controlled preferences. It allows creating an incognito version of the PrefService with an independent PrefValueStore. This (incognito) PrefValueStore and the original PrefValueStore share several of their PrefStores (i.e. DefaultPrefStore, CommandLinePrefStore, Configuration PrefStores) but differ in two pref stores: - We maintain two separate ExtensionPrefStores containing the effective preferences for regular and incognito windows. - We maintain two separate user pref stores. The regular JsonPrefStore is expanded by an OverlayPersistentPrefStore that maintains all write-operations in an in-memory overlay. Therefore, incognito changes are not visible in the file-backed JsonPrefStore. The two ExtensionPrefStores retrieve their effective values from a shared ExtensionPrefValueMap. The OffTheRecordProfileImpl provides a request_context_ that uses the new PrefService already. BUG=66027,69057 TEST=unit tests, will be fully testable once the Proxy Settings API allows incognito settings. Review URL: http://codereview.chromium.org/5915004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72489 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 72380 - Remove wstring from autocomplete.avi@chromium.org2011-01-242-59/+1
| | | | | | | | | | | | BUG=23581 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6258015 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/6256010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72385 0039d316-1c4b-4281-b951-d872f2087c98
* Remove wstring from autocomplete.avi@chromium.org2011-01-242-1/+59
| | | | | | | | | BUG=23581 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6258015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72380 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ChromeURLRequestContext::is_media_willchan@chromium.org2011-01-232-13/+2
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6342016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72291 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Perf test of disabling ChromeNetLog."willchan@chromium.org2011-01-221-2/+0
| | | | | | | | | | | Perf test done. BUG=none TEST=none Review URL: http://codereview.chromium.org/6342017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72285 0039d316-1c4b-4281-b951-d872f2087c98
* Perf test of disabling ChromeNetLog.willchan@chromium.org2011-01-221-0/+2
| | | | | | | | | | | Will revert after getting a run on the perf cyclers. BUG=none TEST=none Review URL: http://codereview.chromium.org/6288011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72284 0039d316-1c4b-4281-b951-d872f2087c98
* Add OWNERS for chrome/browser/net.willchan@chromium.org2011-01-211-0/+4
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6334013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72177 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 72153 - Remove user-related data from local_state and add to ↵mirandac@chromium.org2011-01-211-6/+6
| | | | | | | | | | | | | | | | | | | | | user_preferences, in preparation for multi-profile. devtools kDevToolsSplitLocation browser kBrowserWindowPlacement Also add a method to browser_prefs to delete obsolete preferences from local state, and fix all related tests. BUG=66717 TEST=all browser, interactive, and ui tests work properly Review URL: http://codereview.chromium.org/5915006 TBR=mirandac@chromium.org Review URL: http://codereview.chromium.org/6247017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72175 0039d316-1c4b-4281-b951-d872f2087c98
* Remove user-related data from local_state and add to user_preferences, in ↵mirandac@chromium.org2011-01-211-6/+6
| | | | | | | | | | | | | | | | | | preparation for multi-profile. devtools kDevToolsSplitLocation browser kBrowserWindowPlacement Also add a method to browser_prefs to delete obsolete preferences from local state, and fix all related tests. BUG=66717 TEST=all browser, interactive, and ui tests work properly Review URL: http://codereview.chromium.org/5915006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72153 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete base/lock.h and fix up callers to use the new header file andbrettw@chromium.org2011-01-214-14/+13
| | | | | | | | | | | the base namespace. Fix several files including lock.h unnecessarily. BUG=none TEST=none Original review=http://codereview.chromium.org/6142009/ Patch by leviw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72106 0039d316-1c4b-4281-b951-d872f2087c98
* .c Feature to disable field trials in old versions of Chromium. Field trialsrtenneti@chromium.org2011-01-192-9/+9
| | | | | | | | | | | | | | tests are (usually) monitored for a fixed length of time. With this change field trial tests turn them selves off (will use the default group) after the expiration time (specified in the Field Trial constructor). BUG=13463 TEST=field_trial_unittests tests this code thorougly. spdy session and testing field_trials in renderer process would be very helpful. thanks much. Review URL: http://codereview.chromium.org/6317004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71820 0039d316-1c4b-4281-b951-d872f2087c98
* net: Remove typedef net::URLRequestContext URLRequestContext;tfarina@chromium.org2011-01-155-27/+30
| | | | | | | | | BUG=64263 TEST=compiled locally, trybots Review URL: http://codereview.chromium.org/6338002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71522 0039d316-1c4b-4281-b951-d872f2087c98
* net: Remove typedef net::URLRequestStatus URLRequestStatus;tfarina@chromium.org2011-01-135-17/+20
| | | | | | | | | BUG=64263 TEST=compiled locally, trybots Review URL: http://codereview.chromium.org/6166010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71285 0039d316-1c4b-4281-b951-d872f2087c98
* dont save username and password in the url that is used duringrtenneti@chromium.org2011-01-121-1/+1
| | | | | | | | | | | DNS pre-resolution. BUG=64356 TEST=see bug Review URL: http://codereview.chromium.org/6145005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71207 0039d316-1c4b-4281-b951-d872f2087c98
* Add PrerenderResourceHandler and hook it into the ResourceDispatcherHost.cbentzel@chromium.org2011-01-122-0/+14
| | | | | | | | | | | | | | | | | | | The PrerenderResourceHandler will initiate prerendering of a web page under the following conditions: - The initial request is a GET for a ResourceType::PREFETCH resource. - The mime-type (sniffed or explicitly specified) of the resource is text/html. - The response status code is a 200. - The top-level page will not need to be revalidated until after it's guaranteed to be removed from potential use. The handler passes along all data to the backing resource handler. BUG=61745 TEST=unit_tests --gtest_filter="PrerenderResourceHandlerTest*" Manual Test: Start Chrome with --enable-page-prerender. Go to a page with a <link rel=prefetch> element. Navigate to that element, and make sure that it uses the prerendered view. Review URL: http://codereview.chromium.org/5912001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71162 0039d316-1c4b-4281-b951-d872f2087c98
* Clarify wording around blocking 3rd party cookies and add lab to block ↵jochen@chromium.org2011-01-122-5/+16
| | | | | | | | | | | reading of 3rd party cookies BUG=69066 TEST=net_unittests Review URL: http://codereview.chromium.org/6207005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71148 0039d316-1c4b-4281-b951-d872f2087c98
* Move clipboard from app/ to ui/baseben@chromium.org2011-01-102-5/+8
| | | | | | | | | | BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6135006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70938 0039d316-1c4b-4281-b951-d872f2087c98
* reapply r70628. It was wrongly blamed for breaking Linux valgrind bots.estade@chromium.org2011-01-073-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | The revert was r70688. original author: Matt Menke First pass at adding http/backend cache events to the NetLog. Adds sources and events for ActiveCacheEntry and EntryImpl objects, as well as adding cache read/write events to HttpCacheTransactions. Most new read/write events are only logged when NetLog logging mode is set to log all events. Also, net-internals now merges begin and end events that have parameters, as long as only one of them has parameters. I think this increases readability, at the cost of making it a little more difficult to follow timings with just the "st" values. BUG=59382 TEST=none yet, other than updates to existing tests. Review URL: http://codereview.chromium.org/6150002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70716 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r70628. It broke Linux valgrind bots. See for exampleestade@chromium.org2011-01-073-44/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://build.chromium.org/p/chromium.memory/builders/Linux%20Tests%20%28valgrind%29%281%29/builds/963 First pass at adding http/backend cache events to the NetLog. Adds sources and events for ActiveCacheEntry and EntryImpl objects, as well as adding cache read/write events to HttpCacheTransactions. Most new read/write events are only logged when NetLog logging mode is set to log all events. Also, net-internals now merges begin and end events that have parameters, as long as only one of them has parameters. I think this increases readability, at the cost of making it a little more difficult to follow timings with just the "st" values. BUG=59382 TEST=none yet, other than updates to existing tests. Originally applied: http://src.chromium.org/viewvc/chrome?view=rev&revision=70618 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=70619 Fixed and trying again... Review URL: http://codereview.chromium.org/6125001 BUG=none TEST=linux valgrind goes green. Review URL: http://codereview.chromium.org/6142003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70688 0039d316-1c4b-4281-b951-d872f2087c98
* First pass at adding http/backend cache events to the NetLog. mmenke@chromium.org2011-01-063-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | Adds sources and events for ActiveCacheEntry and EntryImpl objects, as well as adding cache read/write events to HttpCacheTransactions. Most new read/write events are only logged when NetLog logging mode is set to log all events. Also, net-internals now merges begin and end events that have parameters, as long as only one of them has parameters. I think this increases readability, at the cost of making it a little more difficult to follow timings with just the "st" values. BUG=59382 TEST=none yet, other than updates to existing tests. Originally applied: http://src.chromium.org/viewvc/chrome?view=rev&revision=70618 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=70619 Fixed and trying again... Review URL: http://codereview.chromium.org/6125001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70628 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 70618 - First pass at adding http/backend cache events to the NetLog. mmenke@chromium.org2011-01-063-44/+0
| | | | | | | | | | | | | | | | | | | | | | | Adds sources and events for ActiveCacheEntry and EntryImpl objects, as well as adding cache read/write events to HttpCacheTransactions. Most new read/write events are only logged when NetLog logging mode is set to log all events. Also, net-internals now merges begin and end events that have parameters, as long as only one of them has parameters. I think this increases readability, at the cost of making it a little more difficult to follow timings with just the "st" values. BUG=59382 TEST=none yet, other than updates to existing tests. Review URL: http://codereview.chromium.org/4067002 TBR=mmenke@chromium.org Review URL: http://codereview.chromium.org/6005015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70619 0039d316-1c4b-4281-b951-d872f2087c98
* First pass at adding http/backend cache events to the NetLog. mmenke@chromium.org2011-01-063-0/+44
| | | | | | | | | | | | | | | | | | | | Adds sources and events for ActiveCacheEntry and EntryImpl objects, as well as adding cache read/write events to HttpCacheTransactions. Most new read/write events are only logged when NetLog logging mode is set to log all events. Also, net-internals now merges begin and end events that have parameters, as long as only one of them has parameters. I think this increases readability, at the cost of making it a little more difficult to follow timings with just the "st" values. BUG=59382 TEST=none yet, other than updates to existing tests. Review URL: http://codereview.chromium.org/4067002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70618 0039d316-1c4b-4281-b951-d872f2087c98
* net: Add namespace net to the remaining files under url_request directory.tfarina@chromium.org2011-01-065-12/+14
| | | | | | | | | | | | It just adds the 'namespace net' to these files and a typedef for them, because there are many entries to fix in one pass. They will be fixed later. BUG=64263 TEST=trybots Review URL: http://codereview.chromium.org/6056007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70592 0039d316-1c4b-4281-b951-d872f2087c98
* Move CancellationFlag and WaitableEvent to the synchronization subdirectory.brettw@chromium.org2011-01-023-3/+3
| | | | | | | | TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/5977010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70369 0039d316-1c4b-4281-b951-d872f2087c98