OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SUGGESTIONS_SUGGESTIONS_SOURCE_H_ | 5 #ifndef CHROME_BROWSER_SEARCH_SUGGESTIONS_SUGGESTIONS_SOURCE_H_ |
6 #define CHROME_BROWSER_SEARCH_SUGGESTIONS_SUGGESTIONS_SOURCE_H_ | 6 #define CHROME_BROWSER_SEARCH_SUGGESTIONS_SUGGESTIONS_SOURCE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "chrome/browser/search/suggestions/proto/suggestions.pb.h" | 14 #include "components/suggestions/proto/suggestions.pb.h" |
15 #include "content/public/browser/url_data_source.h" | 15 #include "content/public/browser/url_data_source.h" |
16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
17 | 17 |
18 class Profile; | 18 class Profile; |
19 class SkBitmap; | 19 class SkBitmap; |
20 | 20 |
21 namespace base { | 21 namespace base { |
22 class RefCountedMemory; | 22 class RefCountedMemory; |
23 } // namespace base | 23 } // namespace base |
24 | 24 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 // For callbacks may be run after destruction. | 72 // For callbacks may be run after destruction. |
73 base::WeakPtrFactory<SuggestionsSource> weak_ptr_factory_; | 73 base::WeakPtrFactory<SuggestionsSource> weak_ptr_factory_; |
74 | 74 |
75 DISALLOW_COPY_AND_ASSIGN(SuggestionsSource); | 75 DISALLOW_COPY_AND_ASSIGN(SuggestionsSource); |
76 }; | 76 }; |
77 | 77 |
78 } // namespace suggestions | 78 } // namespace suggestions |
79 | 79 |
80 #endif // CHROME_BROWSER_SEARCH_SUGGESTIONS_SUGGESTIONS_SOURCE_H_ | 80 #endif // CHROME_BROWSER_SEARCH_SUGGESTIONS_SUGGESTIONS_SOURCE_H_ |
OLD | NEW |