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

Issue 22031003: Rename BrowserThread::IsWellKnownThread to IsThreadInitialized. (Closed)

Created:
7 years, 4 months ago by Matt Giuca
Modified:
7 years, 4 months ago
Reviewers:
joth, brettw, James Hawkins, sky, Jói
CC:
chromium-reviews, extensions-reviews_chromium.org, browser-components-watch_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Rename BrowserThread::IsWellKnownThread to IsThreadInitialized. This name is a better description of what this function does. Also, IsThreadInitialized now DCHECKS if identifier is out of enum range, instead of returning false. BUG=268212 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216931

Patch Set 1 #

Patch Set 2 : Fix build on Windows, Android and ChromeOS. #

Total comments: 1

Patch Set 3 : Fix compile warning on Windows. #

Patch Set 4 : Rebase to HEAD. (Note new calls to IsThreadInitialized.) #

Total comments: 2

Patch Set 5 : Minor comment reword. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -45 lines) Patch
M chrome/browser/apps/shortcut_manager.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/content_settings/content_settings_store.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/google/google_util_chromeos.cc View 1 1 chunk +6 lines, -6 lines 0 comments Download
M chrome/browser/history/scored_history_match.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/history/shortcuts_backend.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/browser_policy_connector.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_shortcut_manager_win.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/search_terms_data.cc View 5 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/search_engines/search_terms_data_android.cc View 1 1 chunk +6 lines, -6 lines 0 comments Download
M chrome/browser/search_engines/template_url_prepopulate_data.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/browser_thread_impl.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M content/public/browser/browser_thread.h View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Matt Giuca
Either joth or brettw: If interested (since you changed this function most recently). sky: content/browser/browser_thread_impl.cc ...
7 years, 4 months ago (2013-08-05 01:31:16 UTC) #1
brettw
lgtm
7 years, 4 months ago (2013-08-05 23:34:26 UTC) #2
Matt Giuca
sky and joi are both on vacation, and I just noticed that brettw you are ...
7 years, 4 months ago (2013-08-07 04:53:22 UTC) #3
James Hawkins
https://codereview.chromium.org/22031003/diff/25001/content/public/browser/browser_thread.h File content/public/browser/browser_thread.h (right): https://codereview.chromium.org/22031003/diff/25001/content/public/browser/browser_thread.h#newcode182 content/public/browser/browser_thread.h:182: // Callable on any thread. Returns whether the given ...
7 years, 4 months ago (2013-08-08 00:25:46 UTC) #4
James Hawkins
Sorry, that was "LGTM with optional nit."
7 years, 4 months ago (2013-08-08 00:25:59 UTC) #5
Matt Giuca
brettw: Ping to make sure it's okay to take your lgtm as OWNERS approval on ...
7 years, 4 months ago (2013-08-08 04:09:47 UTC) #6
brettw
Yeah, content looks OK.
7 years, 4 months ago (2013-08-09 19:50:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/22031003/34001
7 years, 4 months ago (2013-08-12 00:24:20 UTC) #8
commit-bot: I haz the power
7 years, 4 months ago (2013-08-12 05:20:34 UTC) #9
Message was sent while issue was closed.
Change committed as 216931

Powered by Google App Engine
This is Rietveld 408576698