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

Side by Side Diff: sky/engine/platform/network/HTTPParsers.cpp

Issue 1206763002: Really remove config.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) 2 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org)
3 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 3 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
4 * Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ 4 * Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/
5 * Copyright (C) 2009 Google Inc. All rights reserved. 5 * Copyright (C) 2009 Google Inc. All rights reserved.
6 * Copyright (C) 2011 Apple Inc. All Rights Reserved. 6 * Copyright (C) 2011 Apple Inc. All Rights Reserved.
7 * 7 *
8 * Redistribution and use in source and binary forms, with or without 8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions 9 * modification, are permitted provided that the following conditions
10 * are met: 10 * are met:
(...skipping 12 matching lines...) Expand all
23 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY 24 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
25 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 25 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 26 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 27 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
28 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */ 31 */
32 32
33 #include "sky/engine/config.h"
34 #include "sky/engine/platform/network/HTTPParsers.h" 33 #include "sky/engine/platform/network/HTTPParsers.h"
35 34
36 #include "sky/engine/wtf/DateMath.h" 35 #include "sky/engine/wtf/DateMath.h"
37 #include "sky/engine/wtf/MathExtras.h" 36 #include "sky/engine/wtf/MathExtras.h"
38 #include "sky/engine/wtf/text/CString.h" 37 #include "sky/engine/wtf/text/CString.h"
39 #include "sky/engine/wtf/text/StringBuilder.h" 38 #include "sky/engine/wtf/text/StringBuilder.h"
40 #include "sky/engine/wtf/text/WTFString.h" 39 #include "sky/engine/wtf/text/WTFString.h"
41 #include "sky/engine/wtf/unicode/CharacterNames.h" 40 #include "sky/engine/wtf/unicode/CharacterNames.h"
42 41
43 using namespace WTF; 42 using namespace WTF;
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 if (!cacheControlHeader.containsNoCache) { 754 if (!cacheControlHeader.containsNoCache) {
756 // Handle Pragma: no-cache 755 // Handle Pragma: no-cache
757 // This is deprecated and equivalent to Cache-control: no-cache 756 // This is deprecated and equivalent to Cache-control: no-cache
758 // Don't bother tokenizing the value, it is not important 757 // Don't bother tokenizing the value, it is not important
759 cacheControlHeader.containsNoCache = pragmaValue.lower().contains(noCach eDirective); 758 cacheControlHeader.containsNoCache = pragmaValue.lower().contains(noCach eDirective);
760 } 759 }
761 return cacheControlHeader; 760 return cacheControlHeader;
762 } 761 }
763 762
764 } 763 }
OLDNEW
« no previous file with comments | « sky/engine/platform/network/HTTPHeaderMap.cpp ('k') | sky/engine/platform/network/HTTPParsersTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698