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

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

Issue 1818613002: Implement UMA log throttling for cellular connections (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build for gn, fix unittests, add comments Created 4 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
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 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 extension_throttle_manager_; 590 extension_throttle_manager_;
591 #endif 591 #endif
592 592
593 mutable DevToolsNetworkControllerHandle network_controller_handle_; 593 mutable DevToolsNetworkControllerHandle network_controller_handle_;
594 594
595 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. 595 // TODO(jhawkins): Remove once crbug.com/102004 is fixed.
596 bool initialized_on_UI_thread_; 596 bool initialized_on_UI_thread_;
597 597
598 const Profile::ProfileType profile_type_; 598 const Profile::ProfileType profile_type_;
599 599
600 // Callback for updating data use prefs which needs to be initialized on UI
601 // thread and passed to // |ChromeNetworkDelegate|.
Alexei Svitkine (slow) 2016/03/31 04:32:25 Nit: Remove extra //
gayane -on leave until 09-2017 2016/03/31 17:54:58 Done.
602 metrics::UpdateUsagePrefCallbackType metrics_data_use_forwarder_;
603
600 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 604 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
601 }; 605 };
602 606
603 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 607 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698