Index: chrome/browser/ui/history_ui.cc |
diff --git a/chrome/browser/ui/history_ui.cc b/chrome/browser/ui/history_ui.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9452c3e289c9f07d19add847790b8cc48e0da00f |
--- /dev/null |
+++ b/chrome/browser/ui/history_ui.cc |
@@ -0,0 +1,17 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/browser/ui/history_ui.h" |
+ |
+#include "components/grit/components_scaled_resources.h" |
+#include "ui/base/resource/resource_bundle.h" |
+ |
+namespace history_ui { |
+ |
+base::RefCountedMemory* GetFaviconResourceBytes(ui::ScaleFactor scale_factor) { |
+ return ResourceBundle::GetSharedInstance().LoadDataResourceBytesForScale( |
+ IDR_HISTORY_FAVICON, scale_factor); |
+} |
+ |
+} // namespace history_ui |