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

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

Issue 23722002: [Coverity] Init uninitialized member in ctor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « no previous file | no next file » | 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 #include "chrome/browser/profiles/profile_impl_io_data.h" 5 #include "chrome/browser/profiles/profile_impl_io_data.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 308
309 ProfileImplIOData::LazyParams::LazyParams() 309 ProfileImplIOData::LazyParams::LazyParams()
310 : cache_max_size(0), 310 : cache_max_size(0),
311 media_cache_max_size(0), 311 media_cache_max_size(0),
312 restore_old_session_cookies(false) {} 312 restore_old_session_cookies(false) {}
313 313
314 ProfileImplIOData::LazyParams::~LazyParams() {} 314 ProfileImplIOData::LazyParams::~LazyParams() {}
315 315
316 ProfileImplIOData::ProfileImplIOData() 316 ProfileImplIOData::ProfileImplIOData()
317 : ProfileIOData(false), 317 : ProfileIOData(false),
318 http_server_properties_manager_(NULL) {} 318 http_server_properties_manager_(NULL),
319 app_cache_max_size_(0),
320 app_media_cache_max_size_(0) {}
319 ProfileImplIOData::~ProfileImplIOData() { 321 ProfileImplIOData::~ProfileImplIOData() {
320 DestroyResourceContext(); 322 DestroyResourceContext();
321 323
322 if (media_request_context_) 324 if (media_request_context_)
323 media_request_context_->AssertNoURLRequests(); 325 media_request_context_->AssertNoURLRequests();
324 } 326 }
325 327
326 void ProfileImplIOData::InitializeInternal( 328 void ProfileImplIOData::InitializeInternal(
327 ProfileParams* profile_params, 329 ProfileParams* profile_params,
328 content::ProtocolHandlerMap* protocol_handlers) const { 330 content::ProtocolHandlerMap* protocol_handlers) const {
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 const base::Closure& completion) { 698 const base::Closure& completion) {
697 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 699 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
698 DCHECK(initialized()); 700 DCHECK(initialized());
699 701
700 DCHECK(transport_security_state()); 702 DCHECK(transport_security_state());
701 // Completes synchronously. 703 // Completes synchronously.
702 transport_security_state()->DeleteAllDynamicDataSince(time); 704 transport_security_state()->DeleteAllDynamicDataSince(time);
703 DCHECK(http_server_properties_manager_); 705 DCHECK(http_server_properties_manager_);
704 http_server_properties_manager_->Clear(completion); 706 http_server_properties_manager_->Clear(completion);
705 } 707 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698