|
|
DescriptionEnable iPad Tab Switcher by default on iOS.
Enabling the Tab Switcher by default required fixing the
snapshot_cache unittests.
In turn, this required fixing/cleaning the snapshot_cache:
-Always register/deregister for notifications.
-Centralize the logic to use a LRU cache.
-Centralize the logic to use an in-memory cache.
Other changes:
-Replaced msarda with jif in OWNERS
-Trigger memory warning instead of calling |handleLowMemory| from tests.
BUG=None
Committed: https://crrev.com/7bc8524f4e0b9fa3a7758a81f195a0228196b8d4
Cr-Commit-Position: refs/heads/master@{#377570}
Patch Set 1 : Fixed unittests. #
Total comments: 2
Patch Set 2 : Addressed comments rebased. #
Total comments: 1
Patch Set 3 : Addressed comment. #
Messages
Total messages: 41 (29 generated)
Description was changed from ========== Enable Tab Switcher by default. BUG=None ========== to ========== Enable Tab Switcher by default. BUG=None ==========
jif@chromium.org changed reviewers: + sdefresne@chromium.org
ptal
lgtm
The CQ bit was checked by jif@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1725533004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1725533004/1
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator...)
Description was changed from ========== Enable Tab Switcher by default. BUG=None ========== to ========== Enable Tab Switcher by default. In order to do that, the snapshot_cache unittests needed to be fixed. In order to do that, the snapshot_cache needed to be cleaned up. BUG=None ==========
Description was changed from ========== Enable Tab Switcher by default. In order to do that, the snapshot_cache unittests needed to be fixed. In order to do that, the snapshot_cache needed to be cleaned up. BUG=None ========== to ========== Enable Tab Switcher by default. To do that, the snapshot_cache unittests needed to be fixed. To do that, the snapshot_cache needed to be cleaned up. BUG=None ==========
Description was changed from ========== Enable Tab Switcher by default. To do that, the snapshot_cache unittests needed to be fixed. To do that, the snapshot_cache needed to be cleaned up. BUG=None ========== to ========== Enable Tab Switcher by default. To do that, the snapshot_cache unittests needed to be fixed. To do that, the snapshot_cache needed to be cleaned up/fixed. BUG=None ==========
Description was changed from ========== Enable Tab Switcher by default. To do that, the snapshot_cache unittests needed to be fixed. To do that, the snapshot_cache needed to be cleaned up/fixed. BUG=None ========== to ========== Enable Tab Switcher by default. To do that, the snapshot_cache unittests needed to be fixed. To do that, the snapshot_cache needed to be cleaned up: -Always register/deregister for notifications. BUG=455209 ==========
Description was changed from ========== Enable Tab Switcher by default. To do that, the snapshot_cache unittests needed to be fixed. To do that, the snapshot_cache needed to be cleaned up: -Always register/deregister for notifications. BUG=455209 ========== to ========== Enable Tab Switcher by default. To do that, the snapshot_cache unittests needed to be fixed. To do that, the snapshot_cache needed to be cleaned up: -Always register/deregister for notifications. -Centralize the decision to use a LRU cache and to use an in-memory cache. BUG=455209 ==========
Description was changed from ========== Enable Tab Switcher by default. To do that, the snapshot_cache unittests needed to be fixed. To do that, the snapshot_cache needed to be cleaned up: -Always register/deregister for notifications. -Centralize the decision to use a LRU cache and to use an in-memory cache. BUG=455209 ========== to ========== Enable Tab Switcher by default. To do that, the snapshot_cache unittests needed to be fixed. To do that, the snapshot_cache needed to be cleaned up: -Always register/deregister for notifications. -Centralize the logic to use a LRU cache and to use an in-memory cache. BUG=455209 ==========
Description was changed from ========== Enable Tab Switcher by default. To do that, the snapshot_cache unittests needed to be fixed. To do that, the snapshot_cache needed to be cleaned up: -Always register/deregister for notifications. -Centralize the logic to use a LRU cache and to use an in-memory cache. BUG=455209 ========== to ========== Enable Tab Switcher by default. To do that, the snapshot_cache unittests needed to be fixed. To do that, the snapshot_cache needed to be cleaned up: -Always register/deregister for notifications. -Centralize the logic to use a LRU cache. -Centralize the logic to use an in-memory cache. BUG=455209 ==========
Description was changed from ========== Enable Tab Switcher by default. To do that, the snapshot_cache unittests needed to be fixed. To do that, the snapshot_cache needed to be cleaned up: -Always register/deregister for notifications. -Centralize the logic to use a LRU cache. -Centralize the logic to use an in-memory cache. BUG=455209 ========== to ========== Enable Tab Switcher by default. Enabling the Tab Switcher by default required fixing the snapshot_cache unittests. In turn, this required fixing/cleaning the snapshot_cache: -Always register/deregister for notifications. -Centralize the logic to use a LRU cache. -Centralize the logic to use an in-memory cache. BUG=455209 ==========
Description was changed from ========== Enable Tab Switcher by default. Enabling the Tab Switcher by default required fixing the snapshot_cache unittests. In turn, this required fixing/cleaning the snapshot_cache: -Always register/deregister for notifications. -Centralize the logic to use a LRU cache. -Centralize the logic to use an in-memory cache. BUG=455209 ========== to ========== Enable Tab Switcher by default. Enabling the Tab Switcher by default required fixing the snapshot_cache unittests. In turn, this required fixing/cleaning the snapshot_cache: -Always register/deregister for notifications. -Centralize the logic to use a LRU cache. -Centralize the logic to use an in-memory cache. BUG=455209 ==========
jif@chromium.org changed reviewers: + jbbegue@chromium.org
Patchset #1 (id:1) has been deleted
Patchset #1 (id:20001) has been deleted
sdefresne, PTAL again. jbbegue, PTAL as well.
https://codereview.chromium.org/1725533004/diff/40001/ios/chrome/browser/snap... File ios/chrome/browser/snapshots/snapshot_cache_unittest.mm (right): https://codereview.chromium.org/1725533004/diff/40001/ios/chrome/browser/snap... ios/chrome/browser/snapshots/snapshot_cache_unittest.mm:29: // Promote some implementation methods to public. This is an anti-pattern. Please move this to snapshot_cache_internal.h and use this from both this file and snapshot_cache.mm.
Patchset #2 (id:60001) has been deleted
Description was changed from ========== Enable Tab Switcher by default. Enabling the Tab Switcher by default required fixing the snapshot_cache unittests. In turn, this required fixing/cleaning the snapshot_cache: -Always register/deregister for notifications. -Centralize the logic to use a LRU cache. -Centralize the logic to use an in-memory cache. BUG=455209 ========== to ========== Enable Tab Switcher by default. Enabling the Tab Switcher by default required fixing the snapshot_cache unittests. In turn, this required fixing/cleaning the snapshot_cache: -Always register/deregister for notifications. -Centralize the logic to use a LRU cache. -Centralize the logic to use an in-memory cache. Other changes: -Replaced msarda with jif in OWNERS -Trigger memory warning instead of calling |handleLowMemory| from tests. BUG=455209 ==========
Patchset #2 (id:80001) has been deleted
Patchset #2 (id:100001) has been deleted
Patchset #2 (id:120001) has been deleted
Patchset #2 (id:140001) has been deleted
Patchset #2 (id:160001) has been deleted
Description was changed from ========== Enable Tab Switcher by default. Enabling the Tab Switcher by default required fixing the snapshot_cache unittests. In turn, this required fixing/cleaning the snapshot_cache: -Always register/deregister for notifications. -Centralize the logic to use a LRU cache. -Centralize the logic to use an in-memory cache. Other changes: -Replaced msarda with jif in OWNERS -Trigger memory warning instead of calling |handleLowMemory| from tests. BUG=455209 ========== to ========== Enable Tab Switcher by default. Enabling the Tab Switcher by default required fixing the snapshot_cache unittests. In turn, this required fixing/cleaning the snapshot_cache: -Always register/deregister for notifications. -Centralize the logic to use a LRU cache. -Centralize the logic to use an in-memory cache. Other changes: -Replaced msarda with jif in OWNERS -Trigger memory warning instead of calling |handleLowMemory| from tests. BUG=None ==========
Thanks. PTAL. https://codereview.chromium.org/1725533004/diff/40001/ios/chrome/browser/snap... File ios/chrome/browser/snapshots/snapshot_cache_unittest.mm (right): https://codereview.chromium.org/1725533004/diff/40001/ios/chrome/browser/snap... ios/chrome/browser/snapshots/snapshot_cache_unittest.mm:29: // Promote some implementation methods to public. On 2016/02/25 10:08:09, sdefresne wrote: > This is an anti-pattern. Please move this to snapshot_cache_internal.h and use > this from both this file and snapshot_cache.mm. Done.
Description was changed from ========== Enable Tab Switcher by default. Enabling the Tab Switcher by default required fixing the snapshot_cache unittests. In turn, this required fixing/cleaning the snapshot_cache: -Always register/deregister for notifications. -Centralize the logic to use a LRU cache. -Centralize the logic to use an in-memory cache. Other changes: -Replaced msarda with jif in OWNERS -Trigger memory warning instead of calling |handleLowMemory| from tests. BUG=None ========== to ========== Enable iPad Tab Switcher by default on iOS. Enabling the Tab Switcher by default required fixing the snapshot_cache unittests. In turn, this required fixing/cleaning the snapshot_cache: -Always register/deregister for notifications. -Centralize the logic to use a LRU cache. -Centralize the logic to use an in-memory cache. Other changes: -Replaced msarda with jif in OWNERS -Trigger memory warning instead of calling |handleLowMemory| from tests. BUG=None ==========
lgtm https://codereview.chromium.org/1725533004/diff/180001/ios/chrome/browser/sna... File ios/chrome/browser/snapshots/snapshot_cache_internal.h (right): https://codereview.chromium.org/1725533004/diff/180001/ios/chrome/browser/sna... ios/chrome/browser/snapshots/snapshot_cache_internal.h:7: #import "ios/chrome/browser/snapshots/snapshot_cache_internal.h"
The CQ bit was checked by jif@google.com
The patchset sent to the CQ was uploaded after l-g-t-m from sdefresne@chromium.org Link to the patchset: https://codereview.chromium.org/1725533004/#ps200001 (title: "Addressed comment.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1725533004/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1725533004/200001
Message was sent while issue was closed.
Description was changed from ========== Enable iPad Tab Switcher by default on iOS. Enabling the Tab Switcher by default required fixing the snapshot_cache unittests. In turn, this required fixing/cleaning the snapshot_cache: -Always register/deregister for notifications. -Centralize the logic to use a LRU cache. -Centralize the logic to use an in-memory cache. Other changes: -Replaced msarda with jif in OWNERS -Trigger memory warning instead of calling |handleLowMemory| from tests. BUG=None ========== to ========== Enable iPad Tab Switcher by default on iOS. Enabling the Tab Switcher by default required fixing the snapshot_cache unittests. In turn, this required fixing/cleaning the snapshot_cache: -Always register/deregister for notifications. -Centralize the logic to use a LRU cache. -Centralize the logic to use an in-memory cache. Other changes: -Replaced msarda with jif in OWNERS -Trigger memory warning instead of calling |handleLowMemory| from tests. BUG=None ==========
Message was sent while issue was closed.
Committed patchset #3 (id:200001)
Message was sent while issue was closed.
Description was changed from ========== Enable iPad Tab Switcher by default on iOS. Enabling the Tab Switcher by default required fixing the snapshot_cache unittests. In turn, this required fixing/cleaning the snapshot_cache: -Always register/deregister for notifications. -Centralize the logic to use a LRU cache. -Centralize the logic to use an in-memory cache. Other changes: -Replaced msarda with jif in OWNERS -Trigger memory warning instead of calling |handleLowMemory| from tests. BUG=None ========== to ========== Enable iPad Tab Switcher by default on iOS. Enabling the Tab Switcher by default required fixing the snapshot_cache unittests. In turn, this required fixing/cleaning the snapshot_cache: -Always register/deregister for notifications. -Centralize the logic to use a LRU cache. -Centralize the logic to use an in-memory cache. Other changes: -Replaced msarda with jif in OWNERS -Trigger memory warning instead of calling |handleLowMemory| from tests. BUG=None Committed: https://crrev.com/7bc8524f4e0b9fa3a7758a81f195a0228196b8d4 Cr-Commit-Position: refs/heads/master@{#377570} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/7bc8524f4e0b9fa3a7758a81f195a0228196b8d4 Cr-Commit-Position: refs/heads/master@{#377570}
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:200001) has been created in https://codereview.chromium.org/1740353002/ by rohitrao@chromium.org. The reason for reverting is: Broke iOS UI tests downstream.. |