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

Unified Diff: components/browser_sync/profile_sync_service_typed_url_unittest.cc

Issue 2354613002: [Sync] Fix namespaces for the browser_sync component. (Closed)
Patch Set: Address comments. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/browser_sync/profile_sync_service_typed_url_unittest.cc
diff --git a/components/browser_sync/profile_sync_service_typed_url_unittest.cc b/components/browser_sync/profile_sync_service_typed_url_unittest.cc
index 3813644e8aabf5cdc34061dcb3eb9c63ea7ec23c..45d14d292ba5e0c6d358726ec5ec77806233d4b4 100644
--- a/components/browser_sync/profile_sync_service_typed_url_unittest.cc
+++ b/components/browser_sync/profile_sync_service_typed_url_unittest.cc
@@ -43,7 +43,6 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
-using browser_sync::TypedUrlDataTypeController;
using history::HistoryBackend;
using history::HistoryBackendNotifier;
using history::TypedUrlSyncableService;
@@ -52,6 +51,8 @@ using testing::Return;
using testing::SetArgumentPointee;
using testing::_;
+namespace browser_sync {
+
namespace {
const char kDummySavingBrowserHistoryDisabled[] = "dummyPref";
@@ -185,7 +186,7 @@ class ProfileSyncServiceTypedUrlTest : public AbstractProfileSyncServiceTest {
history_service_->set_task_runner(data_type_thread()->task_runner());
history_service_->set_backend(history_backend_);
- browser_sync::ProfileSyncServiceBundle::SyncClientBuilder builder(
+ ProfileSyncServiceBundle::SyncClientBuilder builder(
profile_sync_service_bundle());
builder.SetHistoryService(history_service_.get());
builder.SetSyncServiceCallback(GetSyncServiceCallback());
@@ -1050,3 +1051,5 @@ TEST_F(ProfileSyncServiceTypedUrlTest, IgnoreModificationWithoutValidVisit) {
// The change should be ignored.
ASSERT_EQ(0U, new_sync_entries.size());
}
+
+} // namespace browser_sync

Powered by Google App Engine
This is Rietveld 408576698