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_RLZ_RLZ_H_ | 5 #ifndef CHROME_BROWSER_RLZ_RLZ_H_ |
6 #define CHROME_BROWSER_RLZ_RLZ_H_ | 6 #define CHROME_BROWSER_RLZ_RLZ_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 #if defined(OS_WIN) || defined(OS_MACOSX) | 10 #if defined(ENABLE_RLZ) |
11 | 11 |
12 #include <map> | 12 #include <map> |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
16 #include "base/memory/singleton.h" | 16 #include "base/memory/singleton.h" |
17 #include "base/string16.h" | 17 #include "base/string16.h" |
18 #include "base/threading/sequenced_worker_pool.h" | 18 #include "base/threading/sequenced_worker_pool.h" |
19 #include "content/public/browser/notification_observer.h" | 19 #include "content/public/browser/notification_observer.h" |
20 #include "content/public/browser/notification_registrar.h" | 20 #include "content/public/browser/notification_registrar.h" |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 | 159 |
160 // Keeps track of whether the omnibox or host page have been used. | 160 // Keeps track of whether the omnibox or host page have been used. |
161 bool omnibox_used_; | 161 bool omnibox_used_; |
162 bool homepage_used_; | 162 bool homepage_used_; |
163 | 163 |
164 content::NotificationRegistrar registrar_; | 164 content::NotificationRegistrar registrar_; |
165 | 165 |
166 DISALLOW_COPY_AND_ASSIGN(RLZTracker); | 166 DISALLOW_COPY_AND_ASSIGN(RLZTracker); |
167 }; | 167 }; |
168 | 168 |
169 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 169 #endif // defined(ENABLE_RLZ) |
170 | 170 |
171 #endif // CHROME_BROWSER_RLZ_RLZ_H_ | 171 #endif // CHROME_BROWSER_RLZ_RLZ_H_ |
OLD | NEW |