Add logging.store and logging.uploadStored to thunk.js for Hangouts.
[chromium-blink-merge.git] / chrome / common / pref_names_util.h
blobd418e9bc1f92d2d2457b401ff3888a86a7bb7168
1 // Copyright (c) 2012 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_COMMON_PREF_NAMES_UTIL_H_
6 #define CHROME_COMMON_PREF_NAMES_UTIL_H_
8 #include <string>
10 namespace pref_names_util {
12 // Extracts the generic family and script from font name pref path |pref_path|.
13 // For example, if |pref_path| is "webkit.webprefs.fonts.serif.Hang", returns
14 // true and sets |generic_family| to "serif" and |script| to "Hang".
15 bool ParseFontNamePrefPath(const std::string& pref_path,
16 std::string* generic_family,
17 std::string* script);
19 } // namespace pref_names_util
21 #endif // CHROME_COMMON_PREF_NAMES_UTIL_H_