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

Issue 1094493003: Initial RemoteCommandsInvalidator (Closed)

Created:
5 years, 8 months ago by binjin
Modified:
5 years, 7 months ago
Reviewers:
bartfab (slow)
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkcr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Initial RemoteCommandsInvalidator This CL adds the invalidator class for remote commands service. BUG=480982 Committed: https://crrev.com/9b94f2db07ffd0bad793e960f7a2d1cb428db7ea Cr-Commit-Position: refs/heads/master@{#330114}

Patch Set 1 #

Patch Set 2 : Initial RemoteCommandsInvalidator #

Patch Set 3 : fixes #

Patch Set 4 : more fixes #

Patch Set 5 : more #

Patch Set 6 : minor fixes #

Patch Set 7 : fixes, add unit tests #

Patch Set 8 : all unit tests, fix lints #

Total comments: 135

Patch Set 9 : fixes addressing #3, except classname/filepath change #

Total comments: 30

Patch Set 10 : rename / move files #

Total comments: 18

Patch Set 11 : fixes addressing #5 #

Total comments: 12

Patch Set 12 : fixes addressing #7 and #8 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+800 lines, -2 lines) Patch
M chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +42 lines, -0 lines 3 comments Download
A chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +37 lines, -0 lines 0 comments Download
M chrome/browser/policy/cloud/DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
A chrome/browser/policy/cloud/remote_commands_invalidator.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +115 lines, -0 lines 0 comments Download
A chrome/browser/policy/cloud/remote_commands_invalidator.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +158 lines, -0 lines 0 comments Download
A chrome/browser/policy/cloud/remote_commands_invalidator_impl.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +49 lines, -0 lines 0 comments Download
A chrome/browser/policy/cloud/remote_commands_invalidator_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +65 lines, -0 lines 0 comments Download
A chrome/browser/policy/cloud/remote_commands_invalidator_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +293 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M components/policy/core/common/cloud/cloud_policy_core.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M components/policy/core/common/cloud/cloud_policy_core.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M components/policy/proto/device_management_backend.proto View 1 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
binjin
5 years, 7 months ago (2015-05-13 14:02:00 UTC) #2
bartfab (slow)
A few general observations: 1) Class names ending in Base are typically used when you ...
5 years, 7 months ago (2015-05-15 13:28:10 UTC) #3
binjin
https://codereview.chromium.org/1094493003/diff/130001/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h File chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h (right): https://codereview.chromium.org/1094493003/diff/130001/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h#newcode38 chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h:38: class AffiliatedRemoteCommandsInvalidator; On 2015/05/15 13:28:07, bartfab wrote: > Please ...
5 years, 7 months ago (2015-05-15 14:50:42 UTC) #4
bartfab (slow)
https://codereview.chromium.org/1094493003/diff/130001/chrome/browser/policy/cloud/remote_commands_invalidator_base.h File chrome/browser/policy/cloud/remote_commands_invalidator_base.h (right): https://codereview.chromium.org/1094493003/diff/130001/chrome/browser/policy/cloud/remote_commands_invalidator_base.h#newcode35 chrome/browser/policy/cloud/remote_commands_invalidator_base.h:35: const scoped_refptr<base::SequencedTaskRunner>& task_runner); On 2015/05/15 14:50:39, binjin wrote: > ...
5 years, 7 months ago (2015-05-15 15:37:13 UTC) #5
binjin
https://codereview.chromium.org/1094493003/diff/150001/chrome/browser/chromeos/policy/remote_commands/remote_commands_invalidator.h File chrome/browser/chromeos/policy/remote_commands/remote_commands_invalidator.h (right): https://codereview.chromium.org/1094493003/diff/150001/chrome/browser/chromeos/policy/remote_commands/remote_commands_invalidator.h#newcode16 chrome/browser/chromeos/policy/remote_commands/remote_commands_invalidator.h:16: class InvalidationService; On 2015/05/15 15:37:12, bartfab wrote: > Nit: ...
5 years, 7 months ago (2015-05-15 15:46:47 UTC) #6
bartfab (slow)
https://codereview.chromium.org/1094493003/diff/170001/chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.cc File chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.cc (right): https://codereview.chromium.org/1094493003/diff/170001/chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.cc#newcode7 chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.cc:7: #include "base/logging.h" Nit: Not used. https://codereview.chromium.org/1094493003/diff/170001/chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.cc#newcode8 chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.cc:8: #include "base/thread_task_runner_handle.h" ...
5 years, 7 months ago (2015-05-15 15:55:08 UTC) #7
bartfab (slow)
Almost there now. https://codereview.chromium.org/1094493003/diff/190001/chrome/browser/policy/cloud/remote_commands_invalidator.cc File chrome/browser/policy/cloud/remote_commands_invalidator.cc (right): https://codereview.chromium.org/1094493003/diff/190001/chrome/browser/policy/cloud/remote_commands_invalidator.cc#newcode9 chrome/browser/policy/cloud/remote_commands_invalidator.cc:9: #include "base/bind.h" Nit: Not used. https://codereview.chromium.org/1094493003/diff/190001/chrome/browser/policy/cloud/remote_commands_invalidator.cc#newcode10 ...
5 years, 7 months ago (2015-05-15 16:00:31 UTC) #8
binjin
https://codereview.chromium.org/1094493003/diff/170001/chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.cc File chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.cc (right): https://codereview.chromium.org/1094493003/diff/170001/chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.cc#newcode7 chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.cc:7: #include "base/logging.h" On 2015/05/15 15:55:08, bartfab wrote: > Nit: ...
5 years, 7 months ago (2015-05-15 16:12:41 UTC) #9
bartfab (slow)
lgtm https://codereview.chromium.org/1094493003/diff/200001/chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.h File chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.h (right): https://codereview.chromium.org/1094493003/diff/200001/chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.h#newcode10 chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.h:10: #include "chrome/browser/chromeos/policy/affiliated_invalidation_service_provider.h" Nit: Not used.
5 years, 7 months ago (2015-05-15 16:23:54 UTC) #10
binjin
https://codereview.chromium.org/1094493003/diff/200001/chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.h File chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.h (right): https://codereview.chromium.org/1094493003/diff/200001/chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.h#newcode10 chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.h:10: #include "chrome/browser/chromeos/policy/affiliated_invalidation_service_provider.h" On 2015/05/15 16:23:54, bartfab wrote: > Nit: ...
5 years, 7 months ago (2015-05-15 16:27:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1094493003/200001
5 years, 7 months ago (2015-05-15 16:27:54 UTC) #13
bartfab (slow)
https://codereview.chromium.org/1094493003/diff/200001/chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.h File chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.h (right): https://codereview.chromium.org/1094493003/diff/200001/chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.h#newcode10 chrome/browser/chromeos/policy/remote_commands/affiliated_remote_commands_invalidator.h:10: #include "chrome/browser/chromeos/policy/affiliated_invalidation_service_provider.h" On 2015/05/15 16:27:02, binjin wrote: > On ...
5 years, 7 months ago (2015-05-15 16:30:31 UTC) #14
commit-bot: I haz the power
Committed patchset #12 (id:200001)
5 years, 7 months ago (2015-05-15 16:59:22 UTC) #15
commit-bot: I haz the power
5 years, 7 months ago (2015-05-15 17:00:48 UTC) #16
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/9b94f2db07ffd0bad793e960f7a2d1cb428db7ea
Cr-Commit-Position: refs/heads/master@{#330114}

Powered by Google App Engine
This is Rietveld 408576698