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

Side by Side Diff: content/public/browser/web_ui_data_source.h

Issue 2149323003: Change the way that gzipped resources are loaded from resources.pak (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/url_data_source.cc ('k') | tools/grit/grit/format/data_pack_unittest.py » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_PUBLIC_BROWSER_WEB_UI_DATA_SOURCE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_UI_DATA_SOURCE_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_UI_DATA_SOURCE_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_UI_DATA_SOURCE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // tsepez. 78 // tsepez.
79 79
80 // Currently only used by embedders for WebUIs with multiple instances. 80 // Currently only used by embedders for WebUIs with multiple instances.
81 virtual void DisableReplaceExistingSource() = 0; 81 virtual void DisableReplaceExistingSource() = 0;
82 virtual void DisableContentSecurityPolicy() = 0; 82 virtual void DisableContentSecurityPolicy() = 0;
83 virtual void OverrideContentSecurityPolicyObjectSrc( 83 virtual void OverrideContentSecurityPolicyObjectSrc(
84 const std::string& data) = 0; 84 const std::string& data) = 0;
85 virtual void OverrideContentSecurityPolicyChildSrc( 85 virtual void OverrideContentSecurityPolicyChildSrc(
86 const std::string& data) = 0; 86 const std::string& data) = 0;
87 virtual void DisableDenyXFrameOptions() = 0; 87 virtual void DisableDenyXFrameOptions() = 0;
88 virtual void UseGzipForAllPaths() = 0;
Dan Beam 2016/07/15 02:40:54 also, I'm not married to this name (especially bec
88 }; 89 };
89 90
90 } // namespace content 91 } // namespace content
91 92
92 #endif // CONTENT_PUBLIC_BROWSER_WEB_UI_DATA_SOURCE_H_ 93 #endif // CONTENT_PUBLIC_BROWSER_WEB_UI_DATA_SOURCE_H_
OLDNEW
« no previous file with comments | « content/public/browser/url_data_source.cc ('k') | tools/grit/grit/format/data_pack_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698