Chromium Code Reviews| Index: ios/chrome/browser/desktop_promotion/desktop_promotion_prefs.h |
| diff --git a/ios/chrome/browser/desktop_promotion/desktop_promotion_prefs.h b/ios/chrome/browser/desktop_promotion/desktop_promotion_prefs.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0e02deb9010a780c54488c5b70966fdc2e6912b6 |
| --- /dev/null |
| +++ b/ios/chrome/browser/desktop_promotion/desktop_promotion_prefs.h |
| @@ -0,0 +1,23 @@ |
| +// Copyright 2017 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. |
| + |
| +#ifndef CHROME_BROWSER_DESKTOP_PROMOTION_DESKTOP_PROMOTION_PREFS_H |
| +#define CHROME_BROWSER_DESKTOP_PROMOTION_DESKTOP_PROMOTION_PREFS_H |
| + |
| +namespace user_prefs { |
| +class PrefRegistrySyncable; |
| +} |
| + |
| +namespace prefs { |
|
sdefresne
2017/01/26 17:03:25
Can you move those prefs to ios/chrome/browser/pre
mrefaat
2017/01/26 23:34:12
Done.
|
| +extern const char kDesktopIOSPromotionSMSEntryPoint[]; |
| +extern const char kDesktopIOSPromotionTargetedEntryPoints[]; |
| +extern const char kDesktopIOSPromotionLastImpression[]; |
| +extern const char kDesktopIOSPromotionDone[]; |
| +} // namespace prefs |
| + |
| +// Register profile specific desktop promotion related preferences. |
| +void RegisterDesktopPromotionUserPrefs( |
| + user_prefs::PrefRegistrySyncable* registry); |
| + |
| +#endif // CHROME_BROWSER_DESKTOP_PROMOTION_DESKTOP_PROMOTION_PREFS_H |