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

Side by Side Diff: chrome/browser/intents/web_intents_registry.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
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_INTENTS_WEB_INTENTS_REGISTRY_H_ 5 #ifndef CHROME_BROWSER_INTENTS_WEB_INTENTS_REGISTRY_H_
6 #define CHROME_BROWSER_INTENTS_WEB_INTENTS_REGISTRY_H_ 6 #define CHROME_BROWSER_INTENTS_WEB_INTENTS_REGISTRY_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/callback.h" 9 #include "base/callback_forward.h"
10 #include "base/hash_tables.h" 10 #include "base/hash_tables.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "chrome/browser/extensions/extension_service.h" 12 #include "chrome/browser/extensions/extension_service.h"
13 #include "chrome/browser/profiles/profile_keyed_service.h" 13 #include "chrome/browser/profiles/profile_keyed_service.h"
14 #include "chrome/browser/webdata/web_data_service.h" 14 #include "chrome/browser/webdata/web_data_service.h"
15 #include "webkit/glue/web_intent_service_data.h" 15 #include "webkit/glue/web_intent_service_data.h"
16 16
17 // Handles storing and retrieving of web intents in the web database. 17 // Handles storing and retrieving of web intents in the web database.
18 // The registry provides filtering logic to retrieve specific types of intents. 18 // The registry provides filtering logic to retrieve specific types of intents.
19 class WebIntentsRegistry 19 class WebIntentsRegistry
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // Shutdown/cleanup is handled by ProfileImpl. We are guaranteed that any 102 // Shutdown/cleanup is handled by ProfileImpl. We are guaranteed that any
103 // ProfileKeyedService will be shut down before data on ProfileImpl is 103 // ProfileKeyedService will be shut down before data on ProfileImpl is
104 // destroyed (i.e. |extension_service_|), so |extension_service_| is valid 104 // destroyed (i.e. |extension_service_|), so |extension_service_| is valid
105 // for the lifetime of the WebIntentsRegistry object. 105 // for the lifetime of the WebIntentsRegistry object.
106 ExtensionServiceInterface* extension_service_; 106 ExtensionServiceInterface* extension_service_;
107 107
108 DISALLOW_COPY_AND_ASSIGN(WebIntentsRegistry); 108 DISALLOW_COPY_AND_ASSIGN(WebIntentsRegistry);
109 }; 109 };
110 110
111 #endif // CHROME_BROWSER_INTENTS_WEB_INTENTS_REGISTRY_H_ 111 #endif // CHROME_BROWSER_INTENTS_WEB_INTENTS_REGISTRY_H_
OLDNEW
« no previous file with comments | « chrome/browser/importer/toolbar_importer_utils.h ('k') | chrome/browser/mock_browsing_data_appcache_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698