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

Side by Side Diff: Source/core/loader/cache/CachedResourceRequest.h

Issue 17569013: Remove unused includes from core/inspector, core/loader and core/page (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 years, 5 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) 2012 Google, Inc. All rights reserved. 2 * Copyright (C) 2012 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #ifndef CachedResourceRequest_h 26 #ifndef CachedResourceRequest_h
27 #define CachedResourceRequest_h 27 #define CachedResourceRequest_h
28 28
29 #include "core/dom/Element.h" 29 #include "core/dom/Element.h"
30 #include "core/loader/ResourceLoaderOptions.h" 30 #include "core/loader/ResourceLoaderOptions.h"
31 #include "core/loader/cache/CachedResourceInitiatorInfo.h" 31 #include "core/loader/cache/CachedResourceInitiatorInfo.h"
32 #include "core/platform/network/ResourceLoadPriority.h" 32 #include "core/platform/network/ResourceLoadPriority.h"
33 #include "core/platform/network/ResourceRequest.h" 33 #include "core/platform/network/ResourceRequest.h"
34 #include <wtf/RefPtr.h> 34 #include "wtf/text/AtomicString.h"
35 #include <wtf/text/AtomicString.h>
36 35
37 namespace WebCore { 36 namespace WebCore {
38 class Document; 37 class Document;
39 38
40 class CachedResourceRequest { 39 class CachedResourceRequest {
41 public: 40 public:
42 enum DeferOption { NoDefer, DeferredByClient }; 41 enum DeferOption { NoDefer, DeferredByClient };
43 42
44 explicit CachedResourceRequest(const ResourceRequest&, const AtomicString& i nitiator, const String& charset = String(), ResourceLoadPriority = ResourceLoadP riorityUnresolved); 43 explicit CachedResourceRequest(const ResourceRequest&, const AtomicString& i nitiator, const String& charset = String(), ResourceLoadPriority = ResourceLoadP riorityUnresolved);
45 CachedResourceRequest(const ResourceRequest&, const AtomicString& initiator, const ResourceLoaderOptions&); 44 CachedResourceRequest(const ResourceRequest&, const AtomicString& initiator, const ResourceLoaderOptions&);
(...skipping 18 matching lines...) Expand all
64 String m_charset; 63 String m_charset;
65 ResourceLoaderOptions m_options; 64 ResourceLoaderOptions m_options;
66 ResourceLoadPriority m_priority; 65 ResourceLoadPriority m_priority;
67 bool m_forPreload; 66 bool m_forPreload;
68 DeferOption m_defer; 67 DeferOption m_defer;
69 }; 68 };
70 69
71 } // namespace WebCore 70 } // namespace WebCore
72 71
73 #endif 72 #endif
OLDNEW
« no previous file with comments | « Source/core/loader/cache/CachedResourceLoader.cpp ('k') | Source/core/loader/cache/CachedScript.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698