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

Side by Side Diff: chrome/browser/profiles/profile.h

Issue 7601013: Web Intents: Hook up the register intent InfoBar with the WebIntentsRegistry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes and more\! Created 9 years, 4 months 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 // This class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 class SSLConfigServiceManager; 79 class SSLConfigServiceManager;
80 class SpellCheckHost; 80 class SpellCheckHost;
81 class TemplateURLFetcher; 81 class TemplateURLFetcher;
82 class TokenService; 82 class TokenService;
83 class TransportSecurityPersister; 83 class TransportSecurityPersister;
84 class UserScriptMaster; 84 class UserScriptMaster;
85 class UserStyleSheetWatcher; 85 class UserStyleSheetWatcher;
86 class VisitedLinkEventListener; 86 class VisitedLinkEventListener;
87 class VisitedLinkMaster; 87 class VisitedLinkMaster;
88 class WebDataService; 88 class WebDataService;
89 class WebIntentsRegistry;
89 class PromoResourceService; 90 class PromoResourceService;
90 91
91 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) && defined(OS_POSIX) 92 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) && defined(OS_POSIX)
92 // Local profile ids are used to associate resources stored outside the profile 93 // Local profile ids are used to associate resources stored outside the profile
93 // directory, like saved passwords in GNOME Keyring / KWallet, with a profile. 94 // directory, like saved passwords in GNOME Keyring / KWallet, with a profile.
94 // With high probability, they are unique on the local machine. They are almost 95 // With high probability, they are unique on the local machine. They are almost
95 // certainly not unique globally, by design. Do not send them over the network. 96 // certainly not unique globally, by design. Do not send them over the network.
96 typedef int LocalProfileId; 97 typedef int LocalProfileId;
97 #endif 98 #endif
98 99
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 // time that this method is called. 342 // time that this method is called.
342 virtual PrefService* GetOffTheRecordPrefs() = 0; 343 virtual PrefService* GetOffTheRecordPrefs() = 0;
343 344
344 // Returns the TemplateURLFetcher for this profile. This is owned by the 345 // Returns the TemplateURLFetcher for this profile. This is owned by the
345 // profile. 346 // profile.
346 virtual TemplateURLFetcher* GetTemplateURLFetcher() = 0; 347 virtual TemplateURLFetcher* GetTemplateURLFetcher() = 0;
347 348
348 // Returns the PersonalDataManager associated with this profile. 349 // Returns the PersonalDataManager associated with this profile.
349 virtual PersonalDataManager* GetPersonalDataManager() = 0; 350 virtual PersonalDataManager* GetPersonalDataManager() = 0;
350 351
352 // Returns the WebIntentsRegistry associated with this profile. Owned by the
353 // profile.
354 virtual WebIntentsRegistry* GetWebIntentsRegistry() = 0;
355
351 // Returns the FileSystemContext associated to this profile. The context 356 // Returns the FileSystemContext associated to this profile. The context
352 // is lazily created the first time this method is called. This is owned 357 // is lazily created the first time this method is called. This is owned
353 // by the profile. 358 // by the profile.
354 virtual fileapi::FileSystemContext* GetFileSystemContext() = 0; 359 virtual fileapi::FileSystemContext* GetFileSystemContext() = 0;
355 360
356 // Returns the BrowserSignin object assigned to this profile. 361 // Returns the BrowserSignin object assigned to this profile.
357 virtual BrowserSignin* GetBrowserSignin() = 0; 362 virtual BrowserSignin* GetBrowserSignin() = 0;
358 363
359 // Returns the request context used for extension-related requests. This 364 // Returns the request context used for extension-related requests. This
360 // is only used for a separate cookie store currently. 365 // is only used for a separate cookie store currently.
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 struct hash<Profile*> { 587 struct hash<Profile*> {
583 std::size_t operator()(Profile* const& p) const { 588 std::size_t operator()(Profile* const& p) const {
584 return reinterpret_cast<std::size_t>(p); 589 return reinterpret_cast<std::size_t>(p);
585 } 590 }
586 }; 591 };
587 592
588 } // namespace __gnu_cxx 593 } // namespace __gnu_cxx
589 #endif 594 #endif
590 595
591 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ 596 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698