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_SEARCH_ENGINES_SEARCH_PROVIDER_INSTALL_STATE_MESSAGE_FILT
ER_H_ | 5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_SEARCH_PROVIDER_INSTALL_STATE_MESSAGE_FILT
ER_H_ |
6 #define CHROME_BROWSER_SEARCH_ENGINES_SEARCH_PROVIDER_INSTALL_STATE_MESSAGE_FILT
ER_H_ | 6 #define CHROME_BROWSER_SEARCH_ENGINES_SEARCH_PROVIDER_INSTALL_STATE_MESSAGE_FILT
ER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
9 #include "chrome/browser/search_engines/search_provider_install_data.h" | 10 #include "chrome/browser/search_engines/search_provider_install_data.h" |
10 #include "chrome/common/search_provider.h" | 11 #include "chrome/common/search_provider.h" |
11 #include "content/public/browser/browser_message_filter.h" | 12 #include "content/public/browser/browser_message_filter.h" |
12 | 13 |
13 class GURL; | 14 class GURL; |
14 class Profile; | 15 class Profile; |
15 | 16 |
16 // Handles messages regarding search provider install state on the I/O thread. | 17 // Handles messages regarding search provider install state on the I/O thread. |
17 class SearchProviderInstallStateMessageFilter | 18 class SearchProviderInstallStateMessageFilter |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 // thread. | 50 // thread. |
50 const bool is_off_the_record_; | 51 const bool is_off_the_record_; |
51 | 52 |
52 // Used to schedule invocations of ReplyWithProviderInstallState. | 53 // Used to schedule invocations of ReplyWithProviderInstallState. |
53 base::WeakPtrFactory<SearchProviderInstallStateMessageFilter> weak_factory_; | 54 base::WeakPtrFactory<SearchProviderInstallStateMessageFilter> weak_factory_; |
54 | 55 |
55 DISALLOW_COPY_AND_ASSIGN(SearchProviderInstallStateMessageFilter); | 56 DISALLOW_COPY_AND_ASSIGN(SearchProviderInstallStateMessageFilter); |
56 }; | 57 }; |
57 | 58 |
58 #endif // CHROME_BROWSER_SEARCH_ENGINES_SEARCH_PROVIDER_INSTALL_STATE_MESSAGE_F
ILTER_H_ | 59 #endif // CHROME_BROWSER_SEARCH_ENGINES_SEARCH_PROVIDER_INSTALL_STATE_MESSAGE_F
ILTER_H_ |
OLD | NEW |