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

Side by Side Diff: chrome/browser/ui/webui/history_ui.h

Issue 10272004: Move RefCountedMemory class to base namespace. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/webui/flash_ui.cc ('k') | chrome/browser/ui/webui/history_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/flash_ui.cc ('k') | chrome/browser/ui/webui/history_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698