Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / android / preferences / pref_service_bridge.h
blobaf056061da113eb23db1c0153305281e4eeeab28
1 // Copyright 2014 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.
5 #ifndef CHROME_BROWSER_ANDROID_PREFERENCES_PREF_SERVICE_BRIDGE_H_
6 #define CHROME_BROWSER_ANDROID_PREFERENCES_PREF_SERVICE_BRIDGE_H_
8 #include <jni.h>
9 #include <string>
11 bool RegisterPrefServiceBridge(JNIEnv* env);
13 // Use |locale| to create a language-region pair and language code to prepend to
14 // the default accept languages. For Malay, we'll end up creating
15 // "ms-MY,ms,en-US,en", and for Swiss-German, we will have
16 // "de-CH,de-DE,de,en-US,en".
17 void PrependToAcceptLanguagesIfNecessary(std::string locale,
18 std::string* accept_languages);
20 #endif // CHROME_BROWSER_ANDROID_PREFERENCES_PREF_SERVICE_BRIDGE_H_