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

Issue 7879006: Delete Tracked, and move Location to its own file. (Closed)

Created:
9 years, 3 months ago by awong
Modified:
9 years, 3 months ago
CC:
chromium-reviews, brettw-cc_chromium.org, darin (slow to review)
Visibility:
Public.

Description

Delete Tracked, and move Location to its own file. The Birth/Death tracking of tasks has been moved out-of-band into MessageLoop's PendingTask structure. Thus, Task no longer needs to inherit from Tracked. Since Task was the only child of Tracked, delete the Tracked class and move Location to its own file. BUG=none TEST=builds Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102132

Patch Set 1 #

Patch Set 2 : Removed Tracked, and put Location into location.h #

Total comments: 2

Patch Set 3 : Comment update. Unittest fix. and more compile fixes. #

Patch Set 4 : Fix win compile #

Patch Set 5 : add another files #

Patch Set 6 : Remove task->SetBirthPlace in ChromeFrame task marshaller. #

Patch Set 7 : Another Chromeframe fix #

Patch Set 8 : fix more includes #

Patch Set 9 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+318 lines, -408 lines) Patch
M base/base.gypi View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M base/files/file_path_watcher_linux.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
A base/location.h View 1 2 3 4 5 6 7 8 1 chunk +80 lines, -0 lines 0 comments Download
A base/location.cc View 1 2 3 4 5 6 7 8 1 chunk +87 lines, -0 lines 0 comments Download
M base/message_loop.h View 1 2 chunks +1 line, -1 line 0 comments Download
M base/message_loop_proxy.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M base/message_loop_proxy.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M base/message_loop_proxy_impl.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M base/observer_list_threadsafe.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M base/synchronization/waitable_event_watcher_posix.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M base/task.h View 2 chunks +1 line, -2 lines 0 comments Download
M base/test/thread_test_helper.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M base/threading/worker_pool.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M base/threading/worker_pool_posix.h View 1 1 chunk +1 line, -1 line 0 comments Download
M base/threading/worker_pool_unittest.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M base/timer.h View 1 1 chunk +1 line, -0 lines 0 comments Download
D base/tracked.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -150 lines 0 comments Download
D base/tracked.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -153 lines 0 comments Download
M base/tracked_objects.h View 1 2 3 chunks +15 lines, -14 lines 0 comments Download
M base/tracked_objects_unittest.cc View 1 2 3 chunks +6 lines, -8 lines 0 comments Download
M chrome/browser/mac/keystone_glue.mm View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/metrics/metrics_reporting_scheduler.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/prefs/pref_model_associator.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/abstract_profile_sync_service_test.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/api/sync_error.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/api/sync_error_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/api/syncable_service_mock.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/apply_updates_command.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/apply_updates_command_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/conflict_resolver.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/post_commit_message_command.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/process_commit_response_command.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/process_commit_response_command_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/process_updates_command.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/sync_scheduler.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/syncer.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/syncer_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/engine/syncer_util.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/verify_updates_command.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/verify_updates_command_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/autofill_change_processor.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/autofill_model_associator.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/autofill_profile_syncable_service.cc View 1 2 3 4 5 6 7 8 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/sync/glue/autofill_profile_syncable_service_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_change_processor.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/bookmark_model_associator.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/data_type_controller.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/data_type_manager_mock.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/generic_change_processor.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/model_associator_mock.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/password_change_processor.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/password_model_associator.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/session_model_associator.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/theme_change_processor.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/theme_model_associator.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/typed_url_change_processor.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/typed_url_model_associator.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/internal_api/syncapi_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/js/js_sync_manager_observer.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/js/js_sync_manager_observer_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/js/js_transaction_observer.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 1 2 3 4 5 6 7 8 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_autofill_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_bookmark_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_harness.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_password_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_preference_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_session_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_typed_url_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/sessions/sync_session_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/sync_js_controller.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/syncable/syncable.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/syncable/syncable.cc View 1 2 3 4 5 6 7 8 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/sync/syncable/syncable_mock.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/syncable/syncable_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/test/engine/mock_connection_manager.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/test/engine/test_directory_setter_upper.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/unrecoverable_error_handler.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/util/logging.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/util/weak_handle.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/util/weak_handle.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/util/weak_handle_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/profile_import/profile_import_thread.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome_frame/chrome_frame_delegate.h View 1 2 3 4 5 2 chunks +1 line, -1 line 0 comments Download
M chrome_frame/external_tab.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome_frame/external_tab_test.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome_frame/task_marshaller.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/in_process_webkit/dom_storage_message_filter.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_win.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M crypto/openssl_util.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_channel_posix.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M ipc/ipc_channel_proxy.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M ipc/ipc_logging.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M ipc/ipc_sync_channel.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M ipc/ipc_sync_message_filter.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M media/video/capture/video_capture_proxy.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M net/base/dnsrr_resolver.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M net/base/keygen_handler_unittest.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M net/base/origin_bound_cert_service.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M net/base/test_root_certs_openssl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M net/disk_cache/file_posix.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M net/disk_cache/in_flight_io.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M net/dns/watching_file_reader.cc View 1 2 3 4 5 6 7 8 2 chunks +1 line, -1 line 0 comments Download
M net/http/http_cache.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_cache.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M net/proxy/network_delegate_error_observer.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M net/proxy/polling_proxy_config_service.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M net/url_request/url_request_context_getter.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M remoting/client/plugin/pepper_xmpp_proxy.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/json_host_config.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/plugin/policy_hack/nat_policy.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -1 line 0 comments Download
M remoting/protocol/buffered_socket_writer.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/connection_to_client.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/connection_to_host.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/input_sender.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/jingle_session.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
remoting/protocol/message_reader.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M webkit/appcache/appcache_group.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M webkit/database/database_quota_client.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M webkit/fileapi/file_system_quota_util.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
awong
The actual meat of the review is tracked.h/cc, location.h/cc, tracked_object.h/cc. The rest are fixing up ...
9 years, 3 months ago (2011-09-13 01:53:47 UTC) #1
awong
On 2011/09/13 01:53:47, awong wrote: > The actual meat of the review is tracked.h/cc, location.h/cc, ...
9 years, 3 months ago (2011-09-13 01:54:03 UTC) #2
jar (doing other things)
Is it now the case that we can no longer compile-out the tracking of tasks? ...
9 years, 3 months ago (2011-09-13 02:13:06 UTC) #3
willchan no longer on Chromium
Once Jim approves I can give the rubberstamp. Everything seems fine to me. http://codereview.chromium.org/7879006/diff/2001/base/tracked_objects.h File ...
9 years, 3 months ago (2011-09-13 05:06:56 UTC) #4
awong
On 2011/09/13 02:13:06, jar wrote: > Is it now the case that we can no ...
9 years, 3 months ago (2011-09-13 19:08:01 UTC) #5
awong
http://codereview.chromium.org/7879006/diff/2001/base/tracked_objects.h File base/tracked_objects.h (right): http://codereview.chromium.org/7879006/diff/2001/base/tracked_objects.h#newcode19 base/tracked_objects.h:19: // TODO(ajwong): Fix this comment to remove references to ...
9 years, 3 months ago (2011-09-13 19:39:04 UTC) #6
awong
And it looks like it passed compile in all platforms now! Yay :D jar@: Any ...
9 years, 3 months ago (2011-09-13 21:42:50 UTC) #7
awong
Ananta: could you look over the chrome-frame changes? Thanks
9 years, 3 months ago (2011-09-13 21:47:06 UTC) #8
ananta
ChromeFrame changes LGTM
9 years, 3 months ago (2011-09-13 22:03:36 UTC) #9
willchan no longer on Chromium
I'm about to run off for a bit, so I'm going to LGTM this for ...
9 years, 3 months ago (2011-09-13 22:10:06 UTC) #10
awong
Ping! Jim, do you want me to wait until we resolve the other thread about ...
9 years, 3 months ago (2011-09-15 19:56:57 UTC) #11
jar (doing other things)
LGTM. This is just clean-up... which made me take note of other nearby code. You ...
9 years, 3 months ago (2011-09-17 05:06:01 UTC) #12
awong
9 years, 3 months ago (2011-09-21 00:38:31 UTC) #13
Sync up. Rebased. De-bitrotted.  Running through try servers again now.  Will
commit afterwards.

Powered by Google App Engine
This is Rietveld 408576698