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

Side by Side Diff: content/renderer/previews_state_helper.h

Issue 2910783002: Adds Lo-Fi fallback support for new Data Reduction Proxy protocol. (Closed)
Patch Set: Added integration test the excercises page-polices fallback Created 3 years, 6 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_RENDERER_PREVIEWS_STATE_HELPER_H_
6 #define CONTENT_RENDERER_PREVIEWS_STATE_HELPER_H_
7
8 #include "content/public/common/previews_state.h"
9 #include "third_party/WebKit/public/platform/WebURLResponse.h"
10
11 namespace content {
12
13 // Returns an updated PreviewsState value for a main frame based on its
14 // |original_state| value and its |web_url_response|.
15 CONTENT_EXPORT PreviewsState UpdatePreviewsStateFromMainFrameResponse(
megjablon 2017/06/05 23:47:59 Where are we calling this that it needs a CONTENT_
dougarnett 2017/06/06 16:49:46 It was not exposed for the unittests. Is there bet
16 PreviewsState original_state,
17 const blink::WebURLResponse& web_url_response);
18
19 } // namespace content
20
21 #endif // CONTENT_RENDERER_PREVIEWS_STATE_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698