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 CHROME_BROWSER_EXTENSIONS_API_SETTINGS_PRIVATE_PREFS_UTIL_ENUMS_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_SETTINGS_PRIVATE_PREFS_UTIL_ENUMS_H_
7 
8 namespace extensions {
9 namespace settings_private {
10 
11 // Success or error statuses from calling PrefsUtil::SetPref.
12 enum class SetPrefResult {
13   SUCCESS,
14   PREF_NOT_MODIFIABLE,
15   PREF_NOT_FOUND,
16   PREF_TYPE_MISMATCH,
17   PREF_TYPE_UNSUPPORTED
18 };
19 
20 }  // namespace settings_private
21 }  // namespace extensions
22 
23 #endif  // CHROME_BROWSER_EXTENSIONS_API_SETTINGS_PRIVATE_PREFS_UTIL_ENUMS_H_
24