summaryrefslogtreecommitdiffstats
path: root/content/common/font_list.cc
diff options
context:
space:
mode:
authorfalken@chromium.org <falken@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-04 12:01:35 +0000
committerfalken@chromium.org <falken@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-04 12:01:35 +0000
commitbc96dad5024f6b875da211924a72cb0372824956 (patch)
treef8976778d36a0b2f76ce3bb8e6b6813af54f4e22 /content/common/font_list.cc
parentdd61dc15ed0bea2dbce0d4107b43c59426c84ad6 (diff)
downloadchromium_src-bc96dad5024f6b875da211924a72cb0372824956.zip
chromium_src-bc96dad5024f6b875da211924a72cb0372824956.tar.gz
chromium_src-bc96dad5024f6b875da211924a72cb0372824956.tar.bz2
Use sequenced workers for the getting the system's font list.
This is necessary because on Linux we use Pango, which is not threadsafe (only newer versions are). BUG=223772 Review URL: https://chromiumcodereview.appspot.com/13458002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192307 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/font_list.cc')
-rw-r--r--content/common/font_list.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/content/common/font_list.cc b/content/common/font_list.cc
new file mode 100644
index 0000000..398ee80
--- /dev/null
+++ b/content/common/font_list.cc
@@ -0,0 +1,9 @@
+// Copyright 2013 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.
+
+#include "content/common/font_list.h"
+
+namespace content {
+const char kFontListSequenceToken[] = "_font_list_sequence_token_";
+}