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

Side by Side Diff: chrome/browser/dom_ui/history2_ui.h

Issue 5794003: Deinline even more destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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/dom_ui/fileicon_source.cc ('k') | chrome/browser/dom_ui/history2_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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_DOM_UI_HISTORY2_UI_H_ 5 #ifndef CHROME_BROWSER_DOM_UI_HISTORY2_UI_H_
6 #define CHROME_BROWSER_DOM_UI_HISTORY2_UI_H_ 6 #define CHROME_BROWSER_DOM_UI_HISTORY2_UI_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 12 matching lines...) Expand all
23 class HistoryUIHTMLSource2 : public ChromeURLDataManager::DataSource { 23 class HistoryUIHTMLSource2 : public ChromeURLDataManager::DataSource {
24 public: 24 public:
25 HistoryUIHTMLSource2(); 25 HistoryUIHTMLSource2();
26 26
27 // Called when the network layer has requested a resource underneath 27 // Called when the network layer has requested a resource underneath
28 // the path we registered. 28 // the path we registered.
29 virtual void StartDataRequest(const std::string& path, 29 virtual void StartDataRequest(const std::string& path,
30 bool is_off_the_record, 30 bool is_off_the_record,
31 int request_id); 31 int request_id);
32 32
33 virtual std::string GetMimeType(const std::string&) const { 33 virtual std::string GetMimeType(const std::string&) const;
34 return "text/html";
35 }
36 34
37 private: 35 private:
38 ~HistoryUIHTMLSource2() {} 36 ~HistoryUIHTMLSource2() {}
39 37
40 DISALLOW_COPY_AND_ASSIGN(HistoryUIHTMLSource2); 38 DISALLOW_COPY_AND_ASSIGN(HistoryUIHTMLSource2);
41 }; 39 };
42 40
43 // The handler for Javascript messages related to the "history" view. 41 // The handler for Javascript messages related to the "history" view.
44 class BrowsingHistoryHandler2 : public DOMMessageHandler, 42 class BrowsingHistoryHandler2 : public DOMMessageHandler,
45 public NotificationObserver { 43 public NotificationObserver {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // Return the URL for a given search term. 103 // Return the URL for a given search term.
106 static const GURL GetHistoryURLWithSearchText(const string16& text); 104 static const GURL GetHistoryURLWithSearchText(const string16& text);
107 105
108 static RefCountedMemory* GetFaviconResourceBytes(); 106 static RefCountedMemory* GetFaviconResourceBytes();
109 107
110 private: 108 private:
111 DISALLOW_COPY_AND_ASSIGN(HistoryUI2); 109 DISALLOW_COPY_AND_ASSIGN(HistoryUI2);
112 }; 110 };
113 111
114 #endif // CHROME_BROWSER_DOM_UI_HISTORY2_UI_H_ 112 #endif // CHROME_BROWSER_DOM_UI_HISTORY2_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/fileicon_source.cc ('k') | chrome/browser/dom_ui/history2_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698