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

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

Issue 2517363002: Decouple Metrics Initialization from IO Thread Initialization (Closed)
Patch Set: Add One Level of Indirection Created 4 years 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
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_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 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/containers/hash_tables.h" 9 #include "base/containers/hash_tables.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 227
228 mutable std::unique_ptr<net::SdchOwner> sdch_policy_; 228 mutable std::unique_ptr<net::SdchOwner> sdch_policy_;
229 229
230 mutable std::unique_ptr<previews::PreviewsIOData> previews_io_data_; 230 mutable std::unique_ptr<previews::PreviewsIOData> previews_io_data_;
231 231
232 // Parameters needed for isolated apps. 232 // Parameters needed for isolated apps.
233 base::FilePath profile_path_; 233 base::FilePath profile_path_;
234 int app_cache_max_size_; 234 int app_cache_max_size_;
235 int app_media_cache_max_size_; 235 int app_media_cache_max_size_;
236 236
237 // Callback for updating data use prefs which needs to be initialized on UI
238 // thread and passed to the network delegate.
239 const metrics::UpdateUsagePrefCallbackType metrics_data_use_forwarder_;
240
237 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); 241 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
238 }; 242 };
239 243
240 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 244 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698