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

Issue 340643002: Use TestBrowserThreadBundle instead of TestBrowserThread in sync code. (Closed)

Created:
6 years, 6 months ago by maniscalco
Modified:
6 years, 6 months ago
Reviewers:
Nicolas Zea
CC:
chromium-reviews, tim+watch_chromium.org, chromium-apps-reviews_chromium.org, haitaol+watch_chromium.org, extensions-reviews_chromium.org, maniscalco+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Use TestBrowserThreadBundle instead of TestBrowserThread in sync code. Replacing use of TestBrowserThread because it is deprecated and harder to use correctly. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278285

Patch Set 1 #

Patch Set 2 : Remove a duplicate #include. #

Patch Set 3 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -67 lines) Patch
M chrome/browser/sync/about_sync_util_unittest.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc View 5 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/sync/glue/extensions_activity_monitor_unittest.cc View 4 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc View 4 chunks +4 lines, -8 lines 0 comments Download
M chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc View 1 4 chunks +5 lines, -8 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_registrar_unittest.cc View 4 chunks +8 lines, -18 lines 0 comments Download
M chrome/browser/sync/glue/typed_url_model_associator_unittest.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_bookmark_unittest.cc View 7 chunks +7 lines, -15 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
maniscalco
Nicolas, would you please review this cleanup change.
6 years, 6 months ago (2014-06-18 16:14:45 UTC) #1
Nicolas Zea
lgtm
6 years, 6 months ago (2014-06-18 20:49:00 UTC) #2
maniscalco
The CQ bit was checked by maniscalco@chromium.org
6 years, 6 months ago (2014-06-18 20:56:48 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maniscalco@chromium.org/340643002/40001
6 years, 6 months ago (2014-06-18 20:58:49 UTC) #4
commit-bot: I haz the power
Change committed as 278285
6 years, 6 months ago (2014-06-19 06:39:54 UTC) #5
Nico
Cool! However, it looks like the drmemory bot having an issue with this: http://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Unit%20%28DrMemory%29/builds/17424 Can ...
6 years, 6 months ago (2014-06-25 01:11:18 UTC) #6
maniscalco
6 years, 6 months ago (2014-06-25 20:31:26 UTC) #7
Message was sent while issue was closed.
Thanks for pointing that out.  zhaoqin@ mentioned the same thing (crbug/387387).
 It's not clear to me why this caused problems for the drmemory bot.

I've been unable to repro on linux with valgrind/asan/tsan.  I did a partial
revert (r279603) to get things green.


On 2014/06/25 01:11:18, Nico (away) wrote:
> Cool!
> 
> However, it looks like the drmemory bot having an issue with this:
>
http://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Unit%20%28...
> 
> Can you take a look?
> 
> {
> UNADDRESSABLE ACCESS
> name=<insert_a_suppression_name_here>
> *!std::_Tree<>::_Eqrange
> *!testing::Mock::UnregisterLocked
> *!testing::internal::FunctionMockerBase<>::~FunctionMockerBase<>
> *!browser_sync::ChangeProcessorMock::~ChangeProcessorMock
> *!browser_sync::ChangeProcessorMock::`scalar deleting destructor'
>
*!browser_sync::NonFrontendDataTypeController::BackendComponentsContainer::~BackendComponentsContainer
> *!browser_sync::DestroyComponentsInBackend
> *!base::internal::Invoker<>::Run
> base.dll!base::MessageLoop::RunTask
> base.dll!base::MessageLoop::DeferOrRunPendingTask
> base.dll!base::MessageLoop::DoWork
> base.dll!base::MessagePumpDefault::Run
> base.dll!base::MessageLoop::RunHandler
> base.dll!base::Thread::Run
> content.dll!content::BrowserThreadImpl::DBThreadRun
> content.dll!content::BrowserThreadImpl::Run
> base.dll!base::Thread::ThreadMain
> base.dll!base::`anonymous namespace'::ThreadFunc
> KERNEL32.dll!BaseThreadInitThunk
> }

Powered by Google App Engine
This is Rietveld 408576698