Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(628)

Unified Diff: components/location/android/location_settings_dialog_context.h

Issue 2709883005: Stubs for triggering the LSD in Clank (Closed)
Patch Set: Group location settings dialog enums into a single java_cpp_enum rule Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/location/android/location_settings_dialog_context.h
diff --git a/components/location/android/location_settings_dialog_context.h b/components/location/android/location_settings_dialog_context.h
new file mode 100644
index 0000000000000000000000000000000000000000..3b4ae42adddf66eb1a4d126a746728ea14de4452
--- /dev/null
+++ b/components/location/android/location_settings_dialog_context.h
@@ -0,0 +1,18 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_LOCATION_LOCATION_SETTINGS_DIALOG_CONTEXT_H_
+#define COMPONENTS_LOCATION_LOCATION_SETTINGS_DIALOG_CONTEXT_H_
+
+// An enum to describe the context in which a system location setting prompt
+// is triggered to allow the prompt UI to be customized to the given context.
+// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.components.location
+enum LocationSettingsDialogContext {
+ // Default context.
+ DEFAULT = 1,
+ // Prompt triggered in the context of a search.
+ SEARCH = 2,
+};
+
+#endif // COMPONENTS_LOCATION_LOCATION_SETTINGS_DIALOG_CONTEXT_H_

Powered by Google App Engine
This is Rietveld 408576698