| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_UTILS_H_ | 5 #ifndef CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_UTILS_H_ |
| 6 #define CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_UTILS_H_ | 6 #define CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_UTILS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/callback_forward.h" |
| 10 #include "base/callback.h" | |
| 11 | 10 |
| 12 class Profile; | 11 class Profile; |
| 13 | 12 |
| 14 namespace toolbar_importer_utils { | 13 namespace toolbar_importer_utils { |
| 15 | 14 |
| 16 // Currently the only configuration information we need is to check whether or | 15 // Currently the only configuration information we need is to check whether or |
| 17 // not the user currently has their GAIA cookie. This is done by the function | 16 // not the user currently has their GAIA cookie. This is done by the function |
| 18 // exposed through the ToolbarImportUtils namespace. | 17 // exposed through the ToolbarImportUtils namespace. |
| 19 void IsGoogleGAIACookieInstalled(const base::Callback<void(bool)>& callback, | 18 void IsGoogleGAIACookieInstalled(const base::Callback<void(bool)>& callback, |
| 20 Profile* profile); | 19 Profile* profile); |
| 21 | 20 |
| 22 } // namespace toolbar_importer_utils | 21 } // namespace toolbar_importer_utils |
| 23 | 22 |
| 24 #endif // CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_UTILS_H_ | 23 #endif // CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_UTILS_H_ |
| OLD | NEW |