| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_PUBLIC_RENDERER_GUEST_MODE_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_ |
| 6 #define CONTENT_PUBLIC_RENDERER_GUEST_MODE_H_ | 6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "content/common/content_export.h" | |
| 10 | 9 |
| 11 namespace content { | 10 // System tray code shared between classic ash SystemTrayDelegateChromeos and |
| 12 | 11 // mustash SystemTrayClient. |
| 13 class CONTENT_EXPORT GuestMode { | 12 class SystemTrayCommon { |
| 14 public: | 13 public: |
| 15 // Returns true if guests could be using cross process frames. | 14 // Shows the settings related to date, timezone etc. |
| 16 static bool UseCrossProcessFramesForGuests(); | 15 static void ShowDateSettings(); |
| 17 | 16 |
| 18 private: | 17 private: |
| 19 GuestMode(); | 18 DISALLOW_IMPLICIT_CONSTRUCTORS(SystemTrayCommon); |
| 20 | |
| 21 DISALLOW_COPY_AND_ASSIGN(GuestMode); | |
| 22 }; | 19 }; |
| 23 | 20 |
| 24 } // namespace content | 21 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_ |
| 25 | |
| 26 #endif // CONTENT_PUBLIC_RENDERER_GUEST_MODE_H_ | |
| OLD | NEW |