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

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

Issue 18796007: Content API changes to integrate base/graph. (Closed) Base URL: marinoni.mon:/usr/local/google/src/chromium/src@base_graph_review
Patch Set: Created 7 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/profiles/off_the_record_profile_impl.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 5 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 private: 108 private:
109 FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap); 109 FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap);
110 void InitHostZoomMap(); 110 void InitHostZoomMap();
111 111
112 #if defined(OS_ANDROID) || defined(OS_IOS) 112 #if defined(OS_ANDROID) || defined(OS_IOS)
113 void UseSystemProxy(); 113 void UseSystemProxy();
114 #endif // defined(OS_ANDROID) || defined(OS_IOS) 114 #endif // defined(OS_ANDROID) || defined(OS_IOS)
115 115
116 void OnZoomLevelChanged(const content::HostZoomMap::ZoomLevelChange& change); 116 void OnZoomLevelChanged(const content::HostZoomMap::ZoomLevelChange& change);
117 117
118 // content::BrowserContext implementation:
119 virtual void VisitDependencyManager(
120 scoped_ptr<content::BrowserContextDependencyVisitor> visitor) OVERRIDE;
121
122 virtual graph::DependencyManagerInstance* GetDependencyManager() OVERRIDE;
123
118 // The real underlying profile. 124 // The real underlying profile.
119 Profile* profile_; 125 Profile* profile_;
120 126
121 // Weak pointer owned by |profile_|. 127 // Weak pointer owned by |profile_|.
122 PrefServiceSyncable* prefs_; 128 PrefServiceSyncable* prefs_;
123 129
124 OffTheRecordProfileIOData::Handle io_data_; 130 OffTheRecordProfileIOData::Handle io_data_;
125 131
126 // We use a non-persistent content settings map for OTR. 132 // We use a non-persistent content settings map for OTR.
127 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; 133 scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
128 134
129 // Time we were started. 135 // Time we were started.
130 Time start_time_; 136 Time start_time_;
131 137
132 base::FilePath last_selected_directory_; 138 base::FilePath last_selected_directory_;
133 139
134 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 140 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
135 141
136 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_; 142 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_;
137 143
138 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 144 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
139 }; 145 };
140 146
141 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 147 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/profiles/off_the_record_profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698