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

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

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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/printing/print_job_worker.h ('k') | chrome/browser/profiles/profile_io_data.h » ('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 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IO_DATA_H_
6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IO_DATA_H_ 6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IO_DATA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 DISALLOW_COPY_AND_ASSIGN(Handle); 78 DISALLOW_COPY_AND_ASSIGN(Handle);
79 }; 79 };
80 80
81 private: 81 private:
82 friend class base::RefCountedThreadSafe<OffTheRecordProfileIOData>; 82 friend class base::RefCountedThreadSafe<OffTheRecordProfileIOData>;
83 83
84 typedef base::hash_map<std::string, net::HttpTransactionFactory* > 84 typedef base::hash_map<std::string, net::HttpTransactionFactory* >
85 HttpTransactionFactoryMap; 85 HttpTransactionFactoryMap;
86 86
87 OffTheRecordProfileIOData(); 87 OffTheRecordProfileIOData();
88 ~OffTheRecordProfileIOData(); 88 virtual ~OffTheRecordProfileIOData();
89 89
90 virtual void LazyInitializeInternal(ProfileParams* profile_params) const; 90 virtual void LazyInitializeInternal(ProfileParams* profile_params) const;
91 virtual scoped_refptr<RequestContext> InitializeAppRequestContext( 91 virtual scoped_refptr<RequestContext> InitializeAppRequestContext(
92 scoped_refptr<ChromeURLRequestContext> main_context, 92 scoped_refptr<ChromeURLRequestContext> main_context,
93 const std::string& app_id) const; 93 const std::string& app_id) const;
94 virtual scoped_refptr<ChromeURLRequestContext> 94 virtual scoped_refptr<ChromeURLRequestContext>
95 AcquireMediaRequestContext() const; 95 AcquireMediaRequestContext() const;
96 virtual scoped_refptr<ChromeURLRequestContext> 96 virtual scoped_refptr<ChromeURLRequestContext>
97 AcquireIsolatedAppRequestContext( 97 AcquireIsolatedAppRequestContext(
98 scoped_refptr<ChromeURLRequestContext> main_context, 98 scoped_refptr<ChromeURLRequestContext> main_context,
99 const std::string& app_id) const; 99 const std::string& app_id) const;
100 100
101 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; 101 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_;
102 102
103 // One HttpTransactionFactory per isolated app. 103 // One HttpTransactionFactory per isolated app.
104 mutable HttpTransactionFactoryMap app_http_factory_map_; 104 mutable HttpTransactionFactoryMap app_http_factory_map_;
105 105
106 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileIOData); 106 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileIOData);
107 }; 107 };
108 108
109 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IO_DATA_H_ 109 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IO_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_job_worker.h ('k') | chrome/browser/profiles/profile_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698