Aagl@chromium.orgRemove error handling for NOT_IN_DNS.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Add a bunch of owners for subdirs under content. Review URL: http://codereview.chromium.org/7147020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89041 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Inherits SupportsWeakPtr<T> instead of having WeakPtrFactory<T> This change refines r137676. BUG=122654 TEST=browser_test Review URL: https://chromiumcodereview.appspot.com/10332233 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139771 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Refactor the guts of ResourceDispatcherHostImpl into a new class named ResourceLoader. This class is responsible for driving the URLRequest (calling Start, Read, and servicing events). This change also generalizes ResourceThrottleController so that it can be used by ResourceHandler implementations to resume or cancel a resource load. The ResourceLoader is a ResourceController. (In a follow-up patch, the BufferedResourceHandler will also become a ResourceController. This will enable us to make the "resume" behavior sane.) The ResourceDispatcherHostImpl now keeps a set of ResourceLoader objects instead of URLRequests. The ResourceLoader owns its URLRequest as well as ResourceHandler (chain). Numerous fields from ResourceRequestInfo become member variables of ResourceLoader because they are only needed by ResourceLoader. This helps cleanup some code. ResourceDispatcherHostImpl is no longer a friend of ResourceRequestInfoImpl, and indeed RRII no longer has any private getter/setters intended for use by RDHI! The ResourceDispatcherHostImpl used to maintain a set of transferred URLRequests. This set is eliminated in favor of just storing a boolean flag on ResourceLoader (is_transferring_). When transferring a request from one RenderView to another, we still replace the ResourceHandler as before, but we keep the ResourceLoader. This means the logic for completing the transfer becomes a member function on ResourceLoader. See ResourceLoader::CompleteTransfer(). NOTE: I left it as future cleanup to improve some of the methods on ResourceLoader that are essentially just copy/pasted from RDHI. For example, I suspect that the new deferred_stage_ member variable will make called_on_response_started_, has_started_reading_, and is_paused_ obsolete. I plan to make these simplifications along with making BufferedResourceHandler implement ResourceController. For now, I'm just trying to minimize changes since this CL is already too big. R=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/10501004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142108 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Inherits SupportsWeakPtr<T> instead of having WeakPtrFactory<T> This change refines r137676. BUG=122654 TEST=browser_test Review URL: https://chromiumcodereview.appspot.com/10332233 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139771 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add SSlHostState::Clear() This method is used by Chrome on Android. It allows SSL warnings to be reset so that SSL error prompts will start getting displayed against even if the user previously clicked through the warning page. BUG=115372 TEST= Review URL: https://chromiumcodereview.appspot.com/10384211 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144340 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add SSlHostState::Clear() This method is used by Chrome on Android. It allows SSL warnings to be reset so that SSL error prompts will start getting displayed against even if the user previously clicked through the warning page. BUG=115372 TEST= Review URL: https://chromiumcodereview.appspot.com/10384211 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144340 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Moving LoadFromMemoryCacheDetails to content/public/browser and making it a struct. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10582007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143113 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove error handling for NOT_IN_DNS. This experiment is long dead and its code is long gone. This change removes some last traces. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10821024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149412 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
TabContents -> WebContentsImpl, part 3. BUG=105875 TEST=no change Review URL: http://codereview.chromium.org/9960071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131634 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
For the SSL cert status, convert anonymous enum that gives bit values into a typedefed uint32. This allows code all over Chromium to use an explicit type instead of "int". This also means the individual named bit constants themselves have the same explicit type. I find the resulting code to be noticeably clearer. This also exposed a bug in SSLErrorInfo::GetErrorsForCertStatus() where not having an explicit type allowed a function argument ordering bug to creep in, so I claim this is safer too. Normally this makes things like DCHECK_EQ() unhappy, but when I'd originally tested this I didn't seem to need to make any changes due to that. Will be watching the trybots... The original motiviation for this change was to find a way to eliminate some cases of passing anonymous-typed values as template arguments (which happens when you use a value from the enum in e.g. EXPECT_EQ()), which is technically illegal in C++03, though we don't warn about it. Simply naming the enum would have done this, but this would have encouraged readers to actually use the enum name as a type, which for a bitfield is inappropriate for the reason given in the first paragraph. BUG=92247 TEST=Compiles Review URL: http://codereview.chromium.org/7969023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102415 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove #pragma once from content Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 |