| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/string16.h" | 11 #include "base/string16.h" |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 DISALLOW_COPY_AND_ASSIGN(BrowsingHistoryHandler); | 79 DISALLOW_COPY_AND_ASSIGN(BrowsingHistoryHandler); |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 class HistoryUI : public content::WebUIController { | 82 class HistoryUI : public content::WebUIController { |
| 83 public: | 83 public: |
| 84 explicit HistoryUI(content::WebUI* web_ui); | 84 explicit HistoryUI(content::WebUI* web_ui); |
| 85 | 85 |
| 86 // Return the URL for a given search term. | 86 // Return the URL for a given search term. |
| 87 static const GURL GetHistoryURLWithSearchText(const string16& text); | 87 static const GURL GetHistoryURLWithSearchText(const string16& text); |
| 88 | 88 |
| 89 static RefCountedMemory* GetFaviconResourceBytes(); | 89 static base::RefCountedMemory* GetFaviconResourceBytes(); |
| 90 | 90 |
| 91 private: | 91 private: |
| 92 DISALLOW_COPY_AND_ASSIGN(HistoryUI); | 92 DISALLOW_COPY_AND_ASSIGN(HistoryUI); |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 #endif // CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_ | 95 #endif // CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_ |
| OLD | NEW |