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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameLoader.h

Issue 1858533002: Introduce WebCachePolicy to merge cache policy enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hiroshige review Created 4 years, 8 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, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
4 * Copyright (C) Research In Motion Limited 2009. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2009. All rights reserved.
5 * Copyright (C) 2011 Google Inc. All rights reserved. 5 * Copyright (C) 2011 Google Inc. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 10 *
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 namespace blink { 51 namespace blink {
52 52
53 class DocumentLoader; 53 class DocumentLoader;
54 class Frame; 54 class Frame;
55 class FrameLoaderClient; 55 class FrameLoaderClient;
56 class ProgressTracker; 56 class ProgressTracker;
57 class ResourceError; 57 class ResourceError;
58 class SerializedScriptValue; 58 class SerializedScriptValue;
59 class SubstituteData; 59 class SubstituteData;
60 60 enum class WebCachePolicy;
61 struct FrameLoadRequest; 61 struct FrameLoadRequest;
62 62
63 CORE_EXPORT bool isBackForwardLoadType(FrameLoadType); 63 CORE_EXPORT bool isBackForwardLoadType(FrameLoadType);
64 64
65 class CORE_EXPORT FrameLoader final { 65 class CORE_EXPORT FrameLoader final {
66 WTF_MAKE_NONCOPYABLE(FrameLoader); 66 WTF_MAKE_NONCOPYABLE(FrameLoader);
67 DISALLOW_NEW(); 67 DISALLOW_NEW();
68 public: 68 public:
69 static ResourceRequest resourceRequestFromHistoryItem(HistoryItem*, Resource RequestCachePolicy); 69 static ResourceRequest resourceRequestFromHistoryItem(HistoryItem*, WebCache Policy);
70 70
71 FrameLoader(LocalFrame*); 71 FrameLoader(LocalFrame*);
72 ~FrameLoader(); 72 ~FrameLoader();
73 73
74 void init(); 74 void init();
75 75
76 ResourceRequest resourceRequestForReload(FrameLoadType, const KURL& override URL = KURL(), 76 ResourceRequest resourceRequestForReload(FrameLoadType, const KURL& override URL = KURL(),
77 ClientRedirectPolicy = ClientRedirectPolicy::NotClientRedirect); 77 ClientRedirectPolicy = ClientRedirectPolicy::NotClientRedirect);
78 78
79 ProgressTracker& progress() const { return *m_progressTracker; } 79 ProgressTracker& progress() const { return *m_progressTracker; }
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 278
279 SandboxFlags m_forcedSandboxFlags; 279 SandboxFlags m_forcedSandboxFlags;
280 280
281 bool m_dispatchingDidClearWindowObjectInMainWorld; 281 bool m_dispatchingDidClearWindowObjectInMainWorld;
282 bool m_protectProvisionalLoader; 282 bool m_protectProvisionalLoader;
283 }; 283 };
284 284
285 } // namespace blink 285 } // namespace blink
286 286
287 #endif // FrameLoader_h 287 #endif // FrameLoader_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698