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

Side by Side Diff: components/dom_distiller/core/url_utils.cc

Issue 2712513004: Use a qualified path for grit-generated headers in components/ (Closed)
Patch Set: more checkdeps Created 3 years, 10 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
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 "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "components/dom_distiller/core/url_constants.h" 11 #include "components/dom_distiller/core/url_constants.h"
12 #include "grit/components_resources.h" 12 #include "components/grit/components_resources.h"
13 #include "net/base/url_util.h" 13 #include "net/base/url_util.h"
14 #include "ui/base/resource/resource_bundle.h" 14 #include "ui/base/resource/resource_bundle.h"
15 #include "url/gurl.h" 15 #include "url/gurl.h"
16 16
17 namespace dom_distiller { 17 namespace dom_distiller {
18 18
19 namespace url_utils { 19 namespace url_utils {
20 20
21 namespace { 21 namespace {
22 22
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 } 93 }
94 94
95 std::string GetIsDistillableJs() { 95 std::string GetIsDistillableJs() {
96 return ResourceBundle::GetSharedInstance() 96 return ResourceBundle::GetSharedInstance()
97 .GetRawDataResource(IDR_IS_DISTILLABLE_JS).as_string(); 97 .GetRawDataResource(IDR_IS_DISTILLABLE_JS).as_string();
98 } 98 }
99 99
100 } // namespace url_utils 100 } // namespace url_utils
101 101
102 } // namespace dom_distiller 102 } // namespace dom_distiller
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698