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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 1947263004: Introduces a new MHTML generation parameter specifying different behvaior for cache-control headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Work on compile. Created 4 years, 7 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <map> 11 #include <map>
12 #include <set> 12 #include <set>
13 #include <string> 13 #include <string>
14 #include <type_traits>
Łukasz Anforowicz 2016/05/12 18:56:49 I don't think this is needed?
dewittj 2016/05/12 22:58:01 Done.
14 #include <vector> 15 #include <vector>
15 16
16 #include "base/callback.h" 17 #include "base/callback.h"
17 #include "base/compiler_specific.h" 18 #include "base/compiler_specific.h"
18 #include "base/gtest_prod_util.h" 19 #include "base/gtest_prod_util.h"
19 #include "base/macros.h" 20 #include "base/macros.h"
20 #include "base/memory/weak_ptr.h" 21 #include "base/memory/weak_ptr.h"
21 #include "base/strings/string16.h" 22 #include "base/strings/string16.h"
22 #include "base/time/time.h" 23 #include "base/time/time.h"
23 #include "build/build_config.h" 24 #include "build/build_config.h"
24 #include "content/browser/accessibility/browser_accessibility_manager.h" 25 #include "content/browser/accessibility/browser_accessibility_manager.h"
25 #include "content/browser/bad_message.h" 26 #include "content/browser/bad_message.h"
26 #include "content/browser/loader/global_routing_id.h" 27 #include "content/browser/loader/global_routing_id.h"
27 #include "content/browser/site_instance_impl.h" 28 #include "content/browser/site_instance_impl.h"
28 #include "content/browser/webui/web_ui_impl.h" 29 #include "content/browser/webui/web_ui_impl.h"
29 #include "content/common/accessibility_mode_enums.h" 30 #include "content/common/accessibility_mode_enums.h"
30 #include "content/common/ax_content_node_data.h" 31 #include "content/common/ax_content_node_data.h"
31 #include "content/common/content_export.h" 32 #include "content/common/content_export.h"
32 #include "content/common/frame_message_enums.h" 33 #include "content/common/frame_message_enums.h"
33 #include "content/common/frame_replication_state.h" 34 #include "content/common/frame_replication_state.h"
34 #include "content/common/image_downloader/image_downloader.mojom.h" 35 #include "content/common/image_downloader/image_downloader.mojom.h"
35 #include "content/common/mojo/service_registry_impl.h" 36 #include "content/common/mojo/service_registry_impl.h"
36 #include "content/common/navigation_params.h" 37 #include "content/common/navigation_params.h"
37 #include "content/public/browser/render_frame_host.h" 38 #include "content/public/browser/render_frame_host.h"
38 #include "content/public/common/javascript_message_type.h" 39 #include "content/public/common/javascript_message_type.h"
40 #include "content/public/common/mhtml_generation.h"
39 #include "net/http/http_response_headers.h" 41 #include "net/http/http_response_headers.h"
40 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" 42 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h"
41 #include "third_party/WebKit/public/web/WebTextDirection.h" 43 #include "third_party/WebKit/public/web/WebTextDirection.h"
42 #include "third_party/WebKit/public/web/WebTreeScopeType.h" 44 #include "third_party/WebKit/public/web/WebTreeScopeType.h"
43 #include "ui/accessibility/ax_node_data.h" 45 #include "ui/accessibility/ax_node_data.h"
44 #include "ui/base/page_transition_types.h" 46 #include "ui/base/page_transition_types.h"
45 47
46 #if defined(OS_ANDROID) 48 #if defined(OS_ANDROID)
47 #include "content/public/browser/android/service_registry_android.h" 49 #include "content/public/browser/android/service_registry_android.h"
48 #endif 50 #endif
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 int hit_obj_id); 661 int hit_obj_id);
660 void OnAccessibilitySnapshotResponse( 662 void OnAccessibilitySnapshotResponse(
661 int callback_id, 663 int callback_id,
662 const AXContentTreeUpdate& snapshot); 664 const AXContentTreeUpdate& snapshot);
663 void OnToggleFullscreen(bool enter_fullscreen); 665 void OnToggleFullscreen(bool enter_fullscreen);
664 void OnDidStartLoading(bool to_different_document); 666 void OnDidStartLoading(bool to_different_document);
665 void OnDidStopLoading(); 667 void OnDidStopLoading();
666 void OnDidChangeLoadProgress(double load_progress); 668 void OnDidChangeLoadProgress(double load_progress);
667 void OnSerializeAsMHTMLResponse( 669 void OnSerializeAsMHTMLResponse(
668 int job_id, 670 int job_id,
669 bool success, 671 MHTMLSerializationResult result,
670 const std::set<std::string>& digests_of_uris_of_serialized_resources); 672 const std::set<std::string>& digests_of_uris_of_serialized_resources);
671 673
672 #if defined(OS_MACOSX) || defined(OS_ANDROID) 674 #if defined(OS_MACOSX) || defined(OS_ANDROID)
673 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params); 675 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params);
674 void OnHidePopup(); 676 void OnHidePopup();
675 #endif 677 #endif
676 678
677 // Registers Mojo services that this frame host makes available. 679 // Registers Mojo services that this frame host makes available.
678 void RegisterMojoServices(); 680 void RegisterMojoServices();
679 681
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 975
974 // NOTE: This must be the last member. 976 // NOTE: This must be the last member.
975 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 977 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
976 978
977 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 979 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
978 }; 980 };
979 981
980 } // namespace content 982 } // namespace content
981 983
982 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 984 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698