summaryrefslogtreecommitdiffstats
path: root/apps/prefs.cc
blob: 0521a5cd3f01bafc8e5ec35d7f56005336be4e78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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 "apps/prefs.h"

#include "apps/pref_names.h"
#include "base/prefs/pref_registry_simple.h"
#include "components/pref_registry/pref_registry_syncable.h"

namespace apps {

void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
#if !defined(OS_MACOSX)
  registry->RegisterBooleanPref(
      prefs::kAppFullscreenAllowed, true,
      user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
#endif
}

}  // namespace apps