OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_CHROMEOS_NOTE_TAKING_HELPER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_NOTE_TAKING_HELPER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_NOTE_TAKING_HELPER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_NOTE_TAKING_HELPER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 const base::FilePath& path); | 185 const base::FilePath& path); |
186 | 186 |
187 // content::NotificationObserver: | 187 // content::NotificationObserver: |
188 void Observe(int type, | 188 void Observe(int type, |
189 const content::NotificationSource& source, | 189 const content::NotificationSource& source, |
190 const content::NotificationDetails& details) override; | 190 const content::NotificationDetails& details) override; |
191 | 191 |
192 // extensions::ExtensionRegistryObserver: | 192 // extensions::ExtensionRegistryObserver: |
193 void OnExtensionLoaded(content::BrowserContext* browser_context, | 193 void OnExtensionLoaded(content::BrowserContext* browser_context, |
194 const extensions::Extension* extension) override; | 194 const extensions::Extension* extension) override; |
195 void OnExtensionUnloaded( | 195 void OnExtensionUnloaded(content::BrowserContext* browser_context, |
196 content::BrowserContext* browser_context, | 196 const extensions::Extension* extension, |
197 const extensions::Extension* extension, | 197 extensions::UnloadedExtensionReason reason) override; |
198 extensions::UnloadedExtensionInfo::Reason reason) override; | |
199 void OnShutdown(extensions::ExtensionRegistry* registry) override; | 198 void OnShutdown(extensions::ExtensionRegistry* registry) override; |
200 | 199 |
201 // True iff Play Store is enabled (i.e. per the checkbox on the settings | 200 // True iff Play Store is enabled (i.e. per the checkbox on the settings |
202 // page). Note that ARC may not be fully started yet when this is true, but it | 201 // page). Note that ARC may not be fully started yet when this is true, but it |
203 // is expected to start eventually. Similarly, ARC may not be fully shut down | 202 // is expected to start eventually. Similarly, ARC may not be fully shut down |
204 // yet when this is false, but will be eventually. | 203 // yet when this is false, but will be eventually. |
205 bool play_store_enabled_ = false; | 204 bool play_store_enabled_ = false; |
206 | 205 |
207 // This is set to true after |android_apps_| is updated. | 206 // This is set to true after |android_apps_| is updated. |
208 bool android_apps_received_ = false; | 207 bool android_apps_received_ = false; |
(...skipping 19 matching lines...) Expand all Loading... |
228 content::NotificationRegistrar registrar_; | 227 content::NotificationRegistrar registrar_; |
229 | 228 |
230 base::WeakPtrFactory<NoteTakingHelper> weak_ptr_factory_; | 229 base::WeakPtrFactory<NoteTakingHelper> weak_ptr_factory_; |
231 | 230 |
232 DISALLOW_COPY_AND_ASSIGN(NoteTakingHelper); | 231 DISALLOW_COPY_AND_ASSIGN(NoteTakingHelper); |
233 }; | 232 }; |
234 | 233 |
235 } // namespace chromeos | 234 } // namespace chromeos |
236 | 235 |
237 #endif // CHROME_BROWSER_CHROMEOS_NOTE_TAKING_HELPER_H_ | 236 #endif // CHROME_BROWSER_CHROMEOS_NOTE_TAKING_HELPER_H_ |
OLD | NEW |