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

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

Issue 601733002: Rename component_resources.h to components_resources.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: output_name hack Created 6 years, 3 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/distiller_page.h" 5 #include "components/dom_distiller/core/distiller_page.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/json/json_writer.h" 8 #include "base/json/json_writer.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram.h"
12 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "grit/component_resources.h" 15 #include "grit/components_resources.h"
16 #include "third_party/dom_distiller_js/dom_distiller.pb.h" 16 #include "third_party/dom_distiller_js/dom_distiller.pb.h"
17 #include "third_party/dom_distiller_js/dom_distiller_json_converter.h" 17 #include "third_party/dom_distiller_js/dom_distiller_json_converter.h"
18 #include "ui/base/resource/resource_bundle.h" 18 #include "ui/base/resource/resource_bundle.h"
19 #include "url/gurl.h" 19 #include "url/gurl.h"
20 20
21 namespace dom_distiller { 21 namespace dom_distiller {
22 22
23 namespace { 23 namespace {
24 24
25 const char* kOptionsPlaceholder = "$$OPTIONS"; 25 const char* kOptionsPlaceholder = "$$OPTIONS";
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 } 118 }
119 119
120 base::MessageLoop::current()->PostTask( 120 base::MessageLoop::current()->PostTask(
121 FROM_HERE, 121 FROM_HERE,
122 base::Bind(distiller_page_callback_, 122 base::Bind(distiller_page_callback_,
123 base::Passed(&distiller_result), 123 base::Passed(&distiller_result),
124 found_content)); 124 found_content));
125 } 125 }
126 126
127 } // namespace dom_distiller 127 } // namespace dom_distiller
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698