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

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

Issue 10068036: RefCounted types should not have public destructors, chrome/browser/ part 5 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win fix Created 8 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) 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_PROFILE_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 return transport_security_state_.get(); 112 return transport_security_state_.get();
113 } 113 }
114 114
115 chrome_browser_net::HttpServerPropertiesManager* 115 chrome_browser_net::HttpServerPropertiesManager*
116 http_server_properties_manager() const; 116 http_server_properties_manager() const;
117 117
118 protected: 118 protected:
119 class AppRequestContext : public ChromeURLRequestContext { 119 class AppRequestContext : public ChromeURLRequestContext {
120 public: 120 public:
121 AppRequestContext(); 121 AppRequestContext();
122 virtual ~AppRequestContext();
123 122
124 void SetCookieStore(net::CookieStore* cookie_store); 123 void SetCookieStore(net::CookieStore* cookie_store);
125 void SetHttpTransactionFactory(net::HttpTransactionFactory* http_factory); 124 void SetHttpTransactionFactory(net::HttpTransactionFactory* http_factory);
126 125
127 private: 126 private:
127 virtual ~AppRequestContext();
128
128 scoped_refptr<net::CookieStore> cookie_store_; 129 scoped_refptr<net::CookieStore> cookie_store_;
129 scoped_ptr<net::HttpTransactionFactory> http_factory_; 130 scoped_ptr<net::HttpTransactionFactory> http_factory_;
130 }; 131 };
131 132
132 // Created on the UI thread, read on the IO thread during ProfileIOData lazy 133 // Created on the UI thread, read on the IO thread during ProfileIOData lazy
133 // initialization. 134 // initialization.
134 struct ProfileParams { 135 struct ProfileParams {
135 ProfileParams(); 136 ProfileParams();
136 ~ProfileParams(); 137 ~ProfileParams();
137 138
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 // One AppRequestContext per isolated app. 317 // One AppRequestContext per isolated app.
317 mutable AppRequestContextMap app_request_context_map_; 318 mutable AppRequestContextMap app_request_context_map_;
318 319
319 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. 320 // TODO(jhawkins): Remove once crbug.com/102004 is fixed.
320 bool initialized_on_UI_thread_; 321 bool initialized_on_UI_thread_;
321 322
322 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 323 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
323 }; 324 };
324 325
325 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 326 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_preview_tab_controller.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698