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

Side by Side Diff: components/dom_distiller/content/dom_distiller_viewer_source.cc

Issue 340403004: Java wrapper for DistilledPagePrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: namespaces to classes, native init, enum Created 6 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 | Annotate | Revision Log
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 #include "components/dom_distiller/content/dom_distiller_viewer_source.h" 5 #include "components/dom_distiller/content/dom_distiller_viewer_source.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/ref_counted_memory.h" 11 #include "base/memory/ref_counted_memory.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 <<<<<<< ours
nyquist 2014/07/08 01:02:33 I don't think this is in the checked-in version of
sunangel 2014/07/08 20:40:58 Should not be in CL, removed On 2014/07/08 01:02:3
16 #include "components/dom_distiller/core/dom_distiller_service.h"
17 #include "components/dom_distiller/core/reader_mode_preferences.h"
18 =======
19 #include "components/dom_distiller/core/distilled_page_prefs.h" 15 #include "components/dom_distiller/core/distilled_page_prefs.h"
20 #include "components/dom_distiller/core/dom_distiller_service.h" 16 #include "components/dom_distiller/core/dom_distiller_service.h"
21 >>>>>>> theirs 17
22 #include "components/dom_distiller/core/task_tracker.h" 18 #include "components/dom_distiller/core/task_tracker.h"
23 #include "components/dom_distiller/core/url_constants.h" 19 #include "components/dom_distiller/core/url_constants.h"
24 #include "components/dom_distiller/core/viewer.h" 20 #include "components/dom_distiller/core/viewer.h"
25 #include "content/public/browser/navigation_details.h" 21 #include "content/public/browser/navigation_details.h"
26 #include "content/public/browser/navigation_entry.h" 22 #include "content/public/browser/navigation_entry.h"
27 #include "content/public/browser/render_frame_host.h" 23 #include "content/public/browser/render_frame_host.h"
28 #include "content/public/browser/render_view_host.h" 24 #include "content/public/browser/render_view_host.h"
29 #include "content/public/browser/web_contents.h" 25 #include "content/public/browser/web_contents.h"
30 #include "content/public/browser/web_contents_observer.h" 26 #include "content/public/browser/web_contents_observer.h"
31 #include "net/base/url_util.h" 27 #include "net/base/url_util.h"
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 const net::URLRequest* request, 370 const net::URLRequest* request,
375 std::string* path) const { 371 std::string* path) const {
376 } 372 }
377 373
378 std::string DomDistillerViewerSource::GetContentSecurityPolicyObjectSrc() 374 std::string DomDistillerViewerSource::GetContentSecurityPolicyObjectSrc()
379 const { 375 const {
380 return "object-src 'none'; style-src 'self';"; 376 return "object-src 'none'; style-src 'self';";
381 } 377 }
382 378
383 } // namespace dom_distiller 379 } // namespace dom_distiller
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698