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

Issue 987113005: Refactor favicon to use C++11 loop and fix style violation (Closed)

Created:
5 years, 9 months ago by sdefresne
Modified:
5 years, 9 months ago
Reviewers:
pkotwicz
CC:
chromium-reviews, browser-components-watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@favicon_client
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor favicon to use C++11 loop and fix style violation Add DISALLOW_COPY_AND_ASSIGN to abstract base class FaviconClient and FaviconDriver and turn the destructor virtual and protected. Use C++11 for loop construct to make the reduce boilerplate and make the code simpler to read. Remove unnecessary virtual destructor in non-derived test classes. Use C++11 nullptr instead of NULL. BUG=None Committed: https://crrev.com/a71b8893bff5dfb955cb868d4dcb894055ba312d Cr-Commit-Position: refs/heads/master@{#320489}

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -51 lines) Patch
M chrome/browser/favicon/favicon_handler.h View 1 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/favicon/favicon_handler.cc View 6 chunks +25 lines, -22 lines 0 comments Download
M chrome/browser/favicon/favicon_handler_unittest.cc View 18 chunks +19 lines, -22 lines 0 comments Download
M components/favicon/core/browser/favicon_client.h View 2 chunks +8 lines, -2 lines 0 comments Download
M components/favicon/core/favicon_driver.h View 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 8 (3 generated)
sdefresne
Please take a look.
5 years, 9 months ago (2015-03-10 13:35:01 UTC) #2
pkotwicz
LGTM Thank you for splitting this into a new CL!
5 years, 9 months ago (2015-03-10 14:46:52 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/987113005/20001
5 years, 9 months ago (2015-03-13 10:19:02 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-13 12:27:35 UTC) #7
commit-bot: I haz the power
5 years, 9 months ago (2015-03-13 12:28:12 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a71b8893bff5dfb955cb868d4dcb894055ba312d
Cr-Commit-Position: refs/heads/master@{#320489}

Powered by Google App Engine
This is Rietveld 408576698