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

Side by Side Diff: third_party/WebKit/public/platform/WebURLError.h

Issue 2390583002: [WIP] WebFonts cache-aware timeout adaption (Closed)
Patch Set: switchToSwapPeriod(), Inspector disable cache check workaround Created 4 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 WebURLError() 71 WebURLError()
72 : reason(0), 72 : reason(0),
73 staleCopyInCache(false), 73 staleCopyInCache(false),
74 isCancellation(false), 74 isCancellation(false),
75 wasIgnoredByHandler(false) {} 75 wasIgnoredByHandler(false) {}
76 76
77 #if INSIDE_BLINK 77 #if INSIDE_BLINK
78 BLINK_PLATFORM_EXPORT WebURLError(const ResourceError&); 78 BLINK_PLATFORM_EXPORT WebURLError(const ResourceError&);
79 BLINK_PLATFORM_EXPORT WebURLError& operator=(const ResourceError&); 79 BLINK_PLATFORM_EXPORT WebURLError& operator=(const ResourceError&);
80 BLINK_PLATFORM_EXPORT operator ResourceError() const; 80 BLINK_PLATFORM_EXPORT operator ResourceError() const;
81
82 BLINK_PLATFORM_EXPORT static WebURLError cacheMissError();
83 BLINK_PLATFORM_EXPORT bool isCacheMiss() const;
81 #endif 84 #endif
82 }; 85 };
83 86
84 } // namespace blink 87 } // namespace blink
85 88
86 #endif 89 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698