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

Side by Side Diff: Source/core/loader/appcache/ApplicationCache.cpp

Issue 64643009: Remove duplicated headers from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years 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) 2008, 2009 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008, 2009 Apple 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 #include "config.h" 26 #include "config.h"
27 #include "core/loader/appcache/ApplicationCache.h" 27 #include "core/loader/appcache/ApplicationCache.h"
28 28
29 #include "bindings/v8/ExceptionMessages.h" 29 #include "bindings/v8/ExceptionMessages.h"
30 #include "bindings/v8/ExceptionState.h" 30 #include "bindings/v8/ExceptionState.h"
31 #include "core/dom/Document.h" 31 #include "core/dom/Document.h"
32 #include "core/dom/ExceptionCode.h" 32 #include "core/dom/ExceptionCode.h"
33 #include "core/events/EventListener.h" 33 #include "core/events/EventListener.h"
34 #include "core/events/ThreadLocalEventNames.h"
35 #include "core/loader/DocumentLoader.h" 34 #include "core/loader/DocumentLoader.h"
36 #include "core/loader/FrameLoader.h" 35 #include "core/loader/FrameLoader.h"
37 #include "core/loader/appcache/ApplicationCacheHost.h"
38 #include "core/frame/Frame.h" 36 #include "core/frame/Frame.h"
39 37
40 namespace WebCore { 38 namespace WebCore {
41 39
42 ApplicationCache::ApplicationCache(Frame* frame) 40 ApplicationCache::ApplicationCache(Frame* frame)
43 : DOMWindowProperty(frame) 41 : DOMWindowProperty(frame)
44 { 42 {
45 ScriptWrappable::init(this); 43 ScriptWrappable::init(this);
46 ApplicationCacheHost* cacheHost = applicationCacheHost(); 44 ApplicationCacheHost* cacheHost = applicationCacheHost();
47 if (cacheHost) 45 if (cacheHost)
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 case ApplicationCacheHost::CACHED_EVENT: 119 case ApplicationCacheHost::CACHED_EVENT:
122 return EventTypeNames::cached; 120 return EventTypeNames::cached;
123 case ApplicationCacheHost::OBSOLETE_EVENT: 121 case ApplicationCacheHost::OBSOLETE_EVENT:
124 return EventTypeNames::obsolete; 122 return EventTypeNames::obsolete;
125 } 123 }
126 ASSERT_NOT_REACHED(); 124 ASSERT_NOT_REACHED();
127 return EventTypeNames::error; 125 return EventTypeNames::error;
128 } 126 }
129 127
130 } // namespace WebCore 128 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/loader/WorkerThreadableLoader.cpp ('k') | Source/core/page/ContextMenuController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698