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

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

Issue 6532069: Reland "WebUI: Move more files from chrome/browser/dom_ui to chrome/browser/webui. Part 5." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_WEB_UI_THUMBNAIL_SOURCE_H_ 5 #ifndef CHROME_BROWSER_DOM_UI_WEB_UI_THUMBNAIL_SOURCE_H_
6 #define CHROME_BROWSER_DOM_UI_WEB_UI_THUMBNAIL_SOURCE_H_ 6 #define CHROME_BROWSER_DOM_UI_WEB_UI_THUMBNAIL_SOURCE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/ref_counted.h" 12 #include "base/ref_counted.h"
13 #include "base/ref_counted_memory.h" 13 #include "base/ref_counted_memory.h"
14 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" 14 #include "chrome/browser/webui/chrome_url_data_manager.h"
15 15
16 class Profile; 16 class Profile;
17 17
18 namespace history { 18 namespace history {
19 class TopSites; 19 class TopSites;
20 } 20 }
21 21
22 // ThumbnailSource is the gateway between network-level chrome: requests for 22 // ThumbnailSource is the gateway between network-level chrome: requests for
23 // thumbnails and the history/top-sites backend that serves these. 23 // thumbnails and the history/top-sites backend that serves these.
24 class WebUIThumbnailSource : public ChromeURLDataManager::DataSource { 24 class WebUIThumbnailSource : public ChromeURLDataManager::DataSource {
(...skipping 20 matching lines...) Expand all
45 // database doesn't have a thumbnail for a webpage. 45 // database doesn't have a thumbnail for a webpage.
46 scoped_refptr<RefCountedMemory> default_thumbnail_; 46 scoped_refptr<RefCountedMemory> default_thumbnail_;
47 47
48 // TopSites. 48 // TopSites.
49 scoped_refptr<history::TopSites> top_sites_; 49 scoped_refptr<history::TopSites> top_sites_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(WebUIThumbnailSource); 51 DISALLOW_COPY_AND_ASSIGN(WebUIThumbnailSource);
52 }; 52 };
53 53
54 #endif // CHROME_BROWSER_DOM_UI_WEB_UI_THUMBNAIL_SOURCE_H_ 54 #endif // CHROME_BROWSER_DOM_UI_WEB_UI_THUMBNAIL_SOURCE_H_
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/web_ui_theme_source.h ('k') | chrome/browser/extensions/extension_bookmark_manager_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698