| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_OPT_IN_H_ | |
| 6 #define CHROME_BROWSER_INSTANT_INSTANT_OPT_IN_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "gfx/native_widget_types.h" | |
| 10 | |
| 11 class Profile; | |
| 12 | |
| 13 namespace browser { | |
| 14 | |
| 15 // Returns true if the opt-in should be shown. | |
| 16 bool ShouldShowInstantOptIn(Profile* profile); | |
| 17 | |
| 18 // Invoked if the user clicks on the opt-in promo. | |
| 19 void UserPickedInstantOptIn(gfx::NativeWindow parent, | |
| 20 Profile* profile, | |
| 21 bool opt_in); | |
| 22 | |
| 23 } // namespace browser | |
| 24 | |
| 25 #endif // CHROME_BROWSER_INSTANT_INSTANT_OPT_IN_H_ | |
| OLD | NEW |