Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 |
| OLD | NEW |