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

Side by Side Diff: public/platform/WebApplicationCacheHost.h

Issue 776693002: Clean forward declaration in public (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix fakewebplugin Created 6 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
« no previous file with comments | « public/platform/Platform.h ('k') | public/platform/WebAudioBus.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 19 matching lines...) Expand all
30 30
31 #ifndef WebApplicationCacheHost_h 31 #ifndef WebApplicationCacheHost_h
32 #define WebApplicationCacheHost_h 32 #define WebApplicationCacheHost_h
33 33
34 #include "WebCommon.h" 34 #include "WebCommon.h"
35 #include "WebURL.h" 35 #include "WebURL.h"
36 #include "WebVector.h" 36 #include "WebVector.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 class WebApplicationCacheHostClient;
41 class WebURL; 40 class WebURL;
42 class WebURLRequest; 41 class WebURLRequest;
43 class WebURLResponse; 42 class WebURLResponse;
44 struct WebURLError;
45 43
46 // This interface is used by webkit to call out to the embedder. Webkit uses 44 // This interface is used by webkit to call out to the embedder. Webkit uses
47 // the WebFrameClient::createApplicationCacheHost method to create instances, 45 // the WebFrameClient::createApplicationCacheHost method to create instances,
48 // and calls delete when the instance is no longer needed. 46 // and calls delete when the instance is no longer needed.
49 class WebApplicationCacheHost { 47 class WebApplicationCacheHost {
50 public: 48 public:
51 // These values must match blink::ApplicationCacheHost::Status values 49 // These values must match blink::ApplicationCacheHost::Status values
52 enum Status { 50 enum Status {
53 Uncached, 51 Uncached,
54 Idle, 52 Idle,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 ResourceInfo() : size(0), isMaster(false), isManifest(false), isExplicit (false), isForeign(false), isFallback(false) { } 121 ResourceInfo() : size(0), isMaster(false), isManifest(false), isExplicit (false), isForeign(false), isFallback(false) { }
124 }; 122 };
125 virtual void getAssociatedCacheInfo(CacheInfo*) { } 123 virtual void getAssociatedCacheInfo(CacheInfo*) { }
126 virtual void getResourceList(WebVector<ResourceInfo>*) { } 124 virtual void getResourceList(WebVector<ResourceInfo>*) { }
127 virtual void deleteAssociatedCacheGroup() { } 125 virtual void deleteAssociatedCacheGroup() { }
128 }; 126 };
129 127
130 } // namespace blink 128 } // namespace blink
131 129
132 #endif // WebApplicationCacheHost_h 130 #endif // WebApplicationCacheHost_h
OLDNEW
« no previous file with comments | « public/platform/Platform.h ('k') | public/platform/WebAudioBus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698