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/core/url_utils.h" | 5 #include "components/dom_distiller/core/url_utils.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/guid.h" | 9 #include "base/guid.h" |
10 #include "components/dom_distiller/core/url_constants.h" | 10 #include "components/dom_distiller/core/url_constants.h" |
11 #include "grit/component_resources.h" | 11 #include "grit/components_resources.h" |
12 #include "net/base/url_util.h" | 12 #include "net/base/url_util.h" |
13 #include "ui/base/resource/resource_bundle.h" | 13 #include "ui/base/resource/resource_bundle.h" |
14 #include "url/gurl.h" | 14 #include "url/gurl.h" |
15 | 15 |
16 namespace dom_distiller { | 16 namespace dom_distiller { |
17 | 17 |
18 namespace url_utils { | 18 namespace url_utils { |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 } | 62 } |
63 | 63 |
64 std::string GetIsDistillableJs() { | 64 std::string GetIsDistillableJs() { |
65 return ResourceBundle::GetSharedInstance() | 65 return ResourceBundle::GetSharedInstance() |
66 .GetRawDataResource(IDR_IS_DISTILLABLE_JS).as_string(); | 66 .GetRawDataResource(IDR_IS_DISTILLABLE_JS).as_string(); |
67 } | 67 } |
68 | 68 |
69 } // namespace url_utils | 69 } // namespace url_utils |
70 | 70 |
71 } // namespace dom_distiller | 71 } // namespace dom_distiller |
OLD | NEW |