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

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

Issue 3179017: FBTF: Remove "obviously" unneeded standard C++ library #includes. (Closed)
Patch Set: fixed mac oopsie Created 10 years, 4 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
« no previous file with comments | « chrome/browser/dom_ui/history_ui.h ('k') | chrome/browser/dom_ui/options_ui.h » ('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) 2009 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_NTP_RESOURCE_CACHE_H_ 5 #ifndef CHROME_BROWSER_DOM_UI_NTP_RESOURCE_CACHE_H_
6 #define CHROME_BROWSER_DOM_UI_NTP_RESOURCE_CACHE_H_ 6 #define CHROME_BROWSER_DOM_UI_NTP_RESOURCE_CACHE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string>
10
11 #include "base/basictypes.h" 9 #include "base/basictypes.h"
12 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
13 #include "chrome/common/notification_registrar.h" 11 #include "chrome/common/notification_registrar.h"
14 12
15 class Profile; 13 class Profile;
16 class RefCountedBytes; 14 class RefCountedBytes;
17 15
18 // This class keeps a cache of NTP resources (HTML and CSS) so we don't have to 16 // This class keeps a cache of NTP resources (HTML and CSS) so we don't have to
19 // regenerate them all the time. 17 // regenerate them all the time.
20 class NTPResourceCache : public NotificationObserver { 18 class NTPResourceCache : public NotificationObserver {
(...skipping 21 matching lines...) Expand all
42 scoped_refptr<RefCountedBytes> new_tab_incognito_css_; 40 scoped_refptr<RefCountedBytes> new_tab_incognito_css_;
43 void CreateNewTabCSS(); 41 void CreateNewTabCSS();
44 scoped_refptr<RefCountedBytes> new_tab_css_; 42 scoped_refptr<RefCountedBytes> new_tab_css_;
45 43
46 NotificationRegistrar registrar_; 44 NotificationRegistrar registrar_;
47 45
48 DISALLOW_COPY_AND_ASSIGN(NTPResourceCache); 46 DISALLOW_COPY_AND_ASSIGN(NTPResourceCache);
49 }; 47 };
50 48
51 #endif // CHROME_BROWSER_DOM_UI_NTP_RESOURCE_CACHE_H_ 49 #endif // CHROME_BROWSER_DOM_UI_NTP_RESOURCE_CACHE_H_
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/history_ui.h ('k') | chrome/browser/dom_ui/options_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698