blob: 0206ceac3c6ae8f0b90050e7938c10ad96944f52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright (c) 2012 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 "chrome/browser/ui/network_profile_bubble_prefs.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/common/pref_names.h"
namespace browser {
const int kMaxWarnings = 2;
void RegisterNetworkProfileBubblePrefs(PrefService* prefs) {
prefs->RegisterIntegerPref(prefs::kNetworkProfileWarningsLeft,
kMaxWarnings,
PrefService::UNSYNCABLE_PREF);
prefs->RegisterInt64Pref(prefs::kNetworkProfileLastWarningTime,
0,
PrefService::UNSYNCABLE_PREF);
}
} // namespace browser
|