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

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

Issue 7685009: Revert "Modifying prefetch to account for multi-profile." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/profiles/profile.cc » ('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 // 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 30 matching lines...) Expand all
41 } 41 }
42 42
43 namespace prerender { 43 namespace prerender {
44 class PrerenderManager; 44 class PrerenderManager;
45 } 45 }
46 46
47 namespace speech_input { 47 namespace speech_input {
48 class SpeechRecognizer; 48 class SpeechRecognizer;
49 } 49 }
50 50
51 namespace chrome_browser_net {
52 class Predictor;
53 }
54
55 class AutocompleteClassifier; 51 class AutocompleteClassifier;
56 class BookmarkModel; 52 class BookmarkModel;
57 class BrowserSignin; 53 class BrowserSignin;
58 class ChromeAppCacheService; 54 class ChromeAppCacheService;
59 class ChromeURLDataManager; 55 class ChromeURLDataManager;
60 class Extension; 56 class Extension;
61 class ExtensionDevToolsManager; 57 class ExtensionDevToolsManager;
62 class ExtensionEventRouter; 58 class ExtensionEventRouter;
63 class ExtensionInfoMap; 59 class ExtensionInfoMap;
64 class ExtensionMessageService; 60 class ExtensionMessageService;
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 return 0 == accessibility_pause_level_; 544 return 0 == accessibility_pause_level_;
549 } 545 }
550 546
551 // Checks whether sync is configurable by the user. Returns false if sync is 547 // Checks whether sync is configurable by the user. Returns false if sync is
552 // disabled or controlled by configuration management. 548 // disabled or controlled by configuration management.
553 bool IsSyncAccessible(); 549 bool IsSyncAccessible();
554 550
555 // Creates an OffTheRecordProfile which points to this Profile. 551 // Creates an OffTheRecordProfile which points to this Profile.
556 Profile* CreateOffTheRecordProfile(); 552 Profile* CreateOffTheRecordProfile();
557 553
558 virtual chrome_browser_net::Predictor* GetNetworkPredictor();
559
560 protected: 554 protected:
561 friend class OffTheRecordProfileImpl; 555 friend class OffTheRecordProfileImpl;
562 556
563 static net::URLRequestContextGetter* default_request_context_; 557 static net::URLRequestContextGetter* default_request_context_;
564 558
565 private: 559 private:
566 // ***DEPRECATED**: You should be passing in the specific profile's 560 // ***DEPRECATED**: You should be passing in the specific profile's
567 // URLRequestContextGetter or using the system URLRequestContextGetter. 561 // URLRequestContextGetter or using the system URLRequestContextGetter.
568 // 562 //
569 // Returns the request context for the "default" profile. This may be called 563 // Returns the request context for the "default" profile. This may be called
(...skipping 21 matching lines...) Expand all
591 struct hash<Profile*> { 585 struct hash<Profile*> {
592 std::size_t operator()(Profile* const& p) const { 586 std::size_t operator()(Profile* const& p) const {
593 return reinterpret_cast<std::size_t>(p); 587 return reinterpret_cast<std::size_t>(p);
594 } 588 }
595 }; 589 };
596 590
597 } // namespace __gnu_cxx 591 } // namespace __gnu_cxx
598 #endif 592 #endif
599 593
600 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ 594 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698