Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(969)

Side by Side Diff: chrome/browser/importer/toolbar_importer_utils.h

Issue 8702019: Use callback_forward.h instead of callback.h where possible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix include order. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/favicon/favicon_handler.h ('k') | chrome/browser/intents/web_intents_registry.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « chrome/browser/favicon/favicon_handler.h ('k') | chrome/browser/intents/web_intents_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698