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

Side by Side Diff: WebCore/platform/network/BlobResourceHandle.cpp

Issue 11192017: ********** WebCore blob hacking (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/Source/
Patch Set: Created 8 years, 1 month 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 28 matching lines...) Expand all
39 #include "FileStream.h" 39 #include "FileStream.h"
40 #include "FileSystem.h" 40 #include "FileSystem.h"
41 #include "HTTPParsers.h" 41 #include "HTTPParsers.h"
42 #include "KURL.h" 42 #include "KURL.h"
43 #include "ResourceError.h" 43 #include "ResourceError.h"
44 #include "ResourceHandleClient.h" 44 #include "ResourceHandleClient.h"
45 #include "ResourceRequest.h" 45 #include "ResourceRequest.h"
46 #include "ResourceResponse.h" 46 #include "ResourceResponse.h"
47 #include <wtf/MainThread.h> 47 #include <wtf/MainThread.h>
48 48
49 // FIXME: This entire file should not be compliled at all for the chromium port, remove it from gyp(i) files.
50
49 namespace WebCore { 51 namespace WebCore {
50 52
51 static const unsigned bufferSize = 512 * 1024; 53 static const unsigned bufferSize = 512 * 1024;
52 static const long long positionNotSpecified = -1; 54 static const long long positionNotSpecified = -1;
53 55
54 static const int httpOK = 200; 56 static const int httpOK = 200;
55 static const int httpPartialContent = 206; 57 static const int httpPartialContent = 206;
56 static const int httpNotAllowed = 403; 58 static const int httpNotAllowed = 403;
57 static const int httpNotFound = 404; 59 static const int httpNotFound = 404;
58 static const int httpRequestedRangeNotSatisfiable = 416; 60 static const int httpRequestedRangeNotSatisfiable = 416;
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 return; 631 return;
630 } 632 }
631 633
632 doNotifyFinish(this); 634 doNotifyFinish(this);
633 } 635 }
634 636
635 } // namespace WebCore 637 } // namespace WebCore
636 638
637 #endif // ENABLE(BLOB) 639 #endif // ENABLE(BLOB)
638 640
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698