| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_LOCATION_LOCATION_SETTINGS_DIALOG_CONTEXT_H_ |
| 6 #define COMPONENTS_LOCATION_LOCATION_SETTINGS_DIALOG_CONTEXT_H_ |
| 7 |
| 8 // An enum to describe the context in which a system location setting prompt |
| 9 // is triggered to allow the prompt UI to be customized to the given context. |
| 10 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.components.location |
| 11 enum LocationSettingsDialogContext { |
| 12 // Default context. |
| 13 DEFAULT = 1, |
| 14 // Prompt triggered in the context of a search. |
| 15 SEARCH = 2, |
| 16 }; |
| 17 |
| 18 #endif // COMPONENTS_LOCATION_LOCATION_SETTINGS_DIALOG_CONTEXT_H_ |
| OLD | NEW |