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

Side by Side Diff: content/renderer/manifest/manifest_manager.h

Issue 2140463002: Remove WebContents::HasManifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Explanatory comment for manifest_url_ resetting Created 4 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
« no previous file with comments | « content/public/browser/web_contents.h ('k') | content/renderer/manifest/manifest_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_MANIFEST_MANIFEST_MANAGER_H_ 5 #ifndef CONTENT_RENDERER_MANIFEST_MANIFEST_MANAGER_H_
6 #define CONTENT_RENDERER_MANIFEST_MANIFEST_MANAGER_H_ 6 #define CONTENT_RENDERER_MANIFEST_MANIFEST_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 enum ResolveState { 53 enum ResolveState {
54 ResolveStateSuccess, 54 ResolveStateSuccess,
55 ResolveStateFailure 55 ResolveStateFailure
56 }; 56 };
57 57
58 // RenderFrameObserver implementation. 58 // RenderFrameObserver implementation.
59 void OnDestruct() override; 59 void OnDestruct() override;
60 60
61 // Called when receiving a ManifestManagerMsg_RequestManifest from the browser 61 // Called when receiving a ManifestManagerMsg_RequestManifest from the browser
62 // process. 62 // process.
63 void OnHasManifest(int request_id);
64 void OnRequestManifest(int request_id); 63 void OnRequestManifest(int request_id);
65 void OnRequestManifestComplete(int request_id, 64 void OnRequestManifestComplete(int request_id,
66 const GURL&, 65 const GURL&,
67 const Manifest&, 66 const Manifest&,
68 const ManifestDebugInfo&); 67 const ManifestDebugInfo&);
69 68
70 void FetchManifest(); 69 void FetchManifest();
71 void OnManifestFetchComplete(const GURL& document_url, 70 void OnManifestFetchComplete(const GURL& document_url,
72 const blink::WebURLResponse& response, 71 const blink::WebURLResponse& response,
73 const std::string& data); 72 const std::string& data);
(...skipping 20 matching lines...) Expand all
94 ManifestDebugInfo manifest_debug_info_; 93 ManifestDebugInfo manifest_debug_info_;
95 94
96 std::list<GetManifestCallback> pending_callbacks_; 95 std::list<GetManifestCallback> pending_callbacks_;
97 96
98 DISALLOW_COPY_AND_ASSIGN(ManifestManager); 97 DISALLOW_COPY_AND_ASSIGN(ManifestManager);
99 }; 98 };
100 99
101 } // namespace content 100 } // namespace content
102 101
103 #endif // CONTENT_RENDERER_MANIFEST_MANIFEST_MANAGER_H_ 102 #endif // CONTENT_RENDERER_MANIFEST_MANIFEST_MANAGER_H_
OLDNEW
« no previous file with comments | « content/public/browser/web_contents.h ('k') | content/renderer/manifest/manifest_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698