OLD | NEW |
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_TAB_CONTENTS_THUMBNAIL_GENERATOR_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_THUMBNAIL_GENERATOR_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_THUMBNAIL_GENERATOR_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_THUMBNAIL_GENERATOR_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 #include <utility> | 9 #include <utility> |
11 #include <vector> | 10 #include <vector> |
12 | 11 |
13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
14 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
15 #include "base/memory/linked_ptr.h" | 14 #include "base/memory/linked_ptr.h" |
16 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
17 #include "base/timer.h" | 16 #include "base/timer.h" |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 bool load_interrupted_; | 173 bool load_interrupted_; |
175 | 174 |
176 base::WeakPtrFactory<ThumbnailGenerator> weak_factory_; | 175 base::WeakPtrFactory<ThumbnailGenerator> weak_factory_; |
177 scoped_ptr<base::WeakPtrFactory<content::WebContents> > | 176 scoped_ptr<base::WeakPtrFactory<content::WebContents> > |
178 web_contents_weak_factory_; | 177 web_contents_weak_factory_; |
179 | 178 |
180 DISALLOW_COPY_AND_ASSIGN(ThumbnailGenerator); | 179 DISALLOW_COPY_AND_ASSIGN(ThumbnailGenerator); |
181 }; | 180 }; |
182 | 181 |
183 #endif // CHROME_BROWSER_TAB_CONTENTS_THUMBNAIL_GENERATOR_H_ | 182 #endif // CHROME_BROWSER_TAB_CONTENTS_THUMBNAIL_GENERATOR_H_ |
OLD | NEW |