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

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

Issue 6773006: Add enableReferrers and enableHyperlinkAuditing to contentSettings.misc API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forward-declare booleanprefmember Created 9 years, 8 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 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/hash_tables.h" 10 #include "base/hash_tables.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 int media_cache_max_size; 98 int media_cache_max_size;
99 FilePath extensions_cookie_path; 99 FilePath extensions_cookie_path;
100 IOThread* io_thread; 100 IOThread* io_thread;
101 101
102 ProfileParams profile_params; 102 ProfileParams profile_params;
103 }; 103 };
104 104
105 typedef base::hash_map<std::string, net::HttpTransactionFactory* > 105 typedef base::hash_map<std::string, net::HttpTransactionFactory* >
106 HttpTransactionFactoryMap; 106 HttpTransactionFactoryMap;
107 107
108 ProfileImplIOData(); 108 explicit ProfileImplIOData(Profile* profile);
109 virtual ~ProfileImplIOData(); 109 virtual ~ProfileImplIOData();
110 110
111 // Lazily initializes ProfileImplIOData. 111 // Lazily initializes ProfileImplIOData.
112 virtual void LazyInitializeInternal() const; 112 virtual void LazyInitializeInternal() const;
113 virtual scoped_refptr<RequestContext> InitializeAppRequestContext( 113 virtual scoped_refptr<RequestContext> InitializeAppRequestContext(
114 scoped_refptr<ChromeURLRequestContext> main_context, 114 scoped_refptr<ChromeURLRequestContext> main_context,
115 const std::string& app_id) const; 115 const std::string& app_id) const;
116 virtual scoped_refptr<ChromeURLRequestContext> 116 virtual scoped_refptr<ChromeURLRequestContext>
117 AcquireMainRequestContext() const; 117 AcquireMainRequestContext() const;
118 virtual scoped_refptr<ChromeURLRequestContext> 118 virtual scoped_refptr<ChromeURLRequestContext>
(...skipping 22 matching lines...) Expand all
141 mutable HttpTransactionFactoryMap app_http_factory_map_; 141 mutable HttpTransactionFactoryMap app_http_factory_map_;
142 142
143 // Parameters needed for isolated apps. 143 // Parameters needed for isolated apps.
144 FilePath app_path_; 144 FilePath app_path_;
145 bool clear_local_state_on_exit_; 145 bool clear_local_state_on_exit_;
146 146
147 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); 147 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
148 }; 148 };
149 149
150 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 150 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698