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

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

Issue 7747018: Introduced the URLBlacklistManager, and wired it to various places. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewed, rebased 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 26 matching lines...) Expand all
37 namespace history { 37 namespace history {
38 class TopSites; 38 class TopSites;
39 class ShortcutsBackend; 39 class ShortcutsBackend;
40 } 40 }
41 41
42 namespace net { 42 namespace net {
43 class TransportSecurityState; 43 class TransportSecurityState;
44 class SSLConfigService; 44 class SSLConfigService;
45 } 45 }
46 46
47 namespace policy {
48 class HostBlacklistManager;
49 }
50
47 namespace prerender { 51 namespace prerender {
48 class PrerenderManager; 52 class PrerenderManager;
49 } 53 }
50 54
51 namespace speech_input { 55 namespace speech_input {
52 class SpeechRecognizer; 56 class SpeechRecognizer;
53 } 57 }
54 58
55 class AutocompleteClassifier; 59 class AutocompleteClassifier;
56 class BookmarkModel; 60 class BookmarkModel;
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 469
466 // Returns the IO-thread-accessible profile data for this profile. 470 // Returns the IO-thread-accessible profile data for this profile.
467 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0; 471 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0;
468 472
469 // Returns the PromoCounter for Instant, or NULL if not applicable. 473 // Returns the PromoCounter for Instant, or NULL if not applicable.
470 virtual PromoCounter* GetInstantPromoCounter() = 0; 474 virtual PromoCounter* GetInstantPromoCounter() = 0;
471 475
472 // Returns the ChromeURLDataManager for this profile. 476 // Returns the ChromeURLDataManager for this profile.
473 virtual ChromeURLDataManager* GetChromeURLDataManager() = 0; 477 virtual ChromeURLDataManager* GetChromeURLDataManager() = 0;
474 478
479 // Returns the HostBlacklistManager for this profile.
480 virtual policy::HostBlacklistManager* GetHostBlacklistManager() = 0;
willchan no longer on Chromium 2011/08/26 11:40:21 Please kill this. You should pass in the HostBlack
Joao da Silva 2011/08/29 11:24:25 Done.
481
475 #if defined(OS_CHROMEOS) 482 #if defined(OS_CHROMEOS)
476 enum AppLocaleChangedVia { 483 enum AppLocaleChangedVia {
477 // Caused by chrome://settings change. 484 // Caused by chrome://settings change.
478 APP_LOCALE_CHANGED_VIA_SETTINGS, 485 APP_LOCALE_CHANGED_VIA_SETTINGS,
479 // Locale has been reverted via LocaleChangeGuard. 486 // Locale has been reverted via LocaleChangeGuard.
480 APP_LOCALE_CHANGED_VIA_REVERT, 487 APP_LOCALE_CHANGED_VIA_REVERT,
481 // From login screen. 488 // From login screen.
482 APP_LOCALE_CHANGED_VIA_LOGIN, 489 APP_LOCALE_CHANGED_VIA_LOGIN,
483 // Source unknown. 490 // Source unknown.
484 APP_LOCALE_CHANGED_VIA_UNKNOWN 491 APP_LOCALE_CHANGED_VIA_UNKNOWN
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 struct hash<Profile*> { 594 struct hash<Profile*> {
588 std::size_t operator()(Profile* const& p) const { 595 std::size_t operator()(Profile* const& p) const {
589 return reinterpret_cast<std::size_t>(p); 596 return reinterpret_cast<std::size_t>(p);
590 } 597 }
591 }; 598 };
592 599
593 } // namespace __gnu_cxx 600 } // namespace __gnu_cxx
594 #endif 601 #endif
595 602
596 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ 603 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698