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

Side by Side Diff: chrome/browser/search/thumbnail_source.h

Issue 1853033003: Fix IWYU violators that don't include scoped_ptr.h in Windows build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
1 // Copyright (c) 2012 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_SEARCH_THUMBNAIL_SOURCE_H_ 5 #ifndef CHROME_BROWSER_SEARCH_THUMBNAIL_SOURCE_H_
6 #define CHROME_BROWSER_SEARCH_THUMBNAIL_SOURCE_H_ 6 #define CHROME_BROWSER_SEARCH_THUMBNAIL_SOURCE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
13 #include "content/public/browser/url_data_source.h" 14 #include "content/public/browser/url_data_source.h"
14 #include "url/gurl.h" 15 #include "url/gurl.h"
15 16
16 class Profile; 17 class Profile;
17 class SkBitmap; 18 class SkBitmap;
18 19
19 namespace base { 20 namespace base {
20 class RefCountedMemory; 21 class RefCountedMemory;
21 } 22 }
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // existing thumbnails in the database that contain a URL matching the prefix 82 // existing thumbnails in the database that contain a URL matching the prefix
82 // of the requested URL. 83 // of the requested URL.
83 const bool capture_thumbnails_; 84 const bool capture_thumbnails_;
84 85
85 base::WeakPtrFactory<ThumbnailSource> weak_ptr_factory_; 86 base::WeakPtrFactory<ThumbnailSource> weak_ptr_factory_;
86 87
87 DISALLOW_COPY_AND_ASSIGN(ThumbnailSource); 88 DISALLOW_COPY_AND_ASSIGN(ThumbnailSource);
88 }; 89 };
89 90
90 #endif // CHROME_BROWSER_SEARCH_THUMBNAIL_SOURCE_H_ 91 #endif // CHROME_BROWSER_SEARCH_THUMBNAIL_SOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698