summaryrefslogtreecommitdiff
path: root/chromium/components/browser_sync
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/browser_sync')
-rw-r--r--chromium/components/browser_sync/PRESUBMIT.py7
-rw-r--r--chromium/components/browser_sync/browser_sync_switches.cc2
-rw-r--r--chromium/components/browser_sync/signin_confirmation_helper.cc1
3 files changed, 3 insertions, 7 deletions
diff --git a/chromium/components/browser_sync/PRESUBMIT.py b/chromium/components/browser_sync/PRESUBMIT.py
index d072c723a89..e7128a2ab62 100644
--- a/chromium/components/browser_sync/PRESUBMIT.py
+++ b/chromium/components/browser_sync/PRESUBMIT.py
@@ -12,16 +12,11 @@ import re
BROWSER_SYNC_SOURCE_FILES = (r'^components[\\/]browser_sync[\\/].*\.(cc|h)$',)
-# The wrapper around lint that is called below disables a set of filters if the
-# passed filter evaluates to false. Pass a junk filter to avoid this behavior.
-LINT_FILTERS = ['+fake/filter']
-
def CheckChangeLintsClean(input_api, output_api):
source_filter = lambda x: input_api.FilterSourceFile(
x, white_list=BROWSER_SYNC_SOURCE_FILES, black_list=None)
return input_api.canned_checks.CheckChangeLintsClean(
- input_api, output_api, source_filter, lint_filters=LINT_FILTERS,
- verbose_level=1)
+ input_api, output_api, source_filter, lint_filters=[], verbose_level=1)
def CheckChanges(input_api, output_api):
results = []
diff --git a/chromium/components/browser_sync/browser_sync_switches.cc b/chromium/components/browser_sync/browser_sync_switches.cc
index 1de91ec7fd9..7e8e3dec77c 100644
--- a/chromium/components/browser_sync/browser_sync_switches.cc
+++ b/chromium/components/browser_sync/browser_sync_switches.cc
@@ -26,7 +26,7 @@ const base::Feature kSyncUseSessionsUnregisterDelay{
"SyncUseSessionsUnregisterDelay", base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kSyncErrorInfoBarAndroid{"SyncErrorInfoBarAndroid",
- base::FEATURE_DISABLED_BY_DEFAULT};
+ base::FEATURE_ENABLED_BY_DEFAULT};
#endif // defined(OS_ANDROID)
} // namespace switches
diff --git a/chromium/components/browser_sync/signin_confirmation_helper.cc b/chromium/components/browser_sync/signin_confirmation_helper.cc
index eb5bdb8acd8..5323d335f19 100644
--- a/chromium/components/browser_sync/signin_confirmation_helper.cc
+++ b/chromium/components/browser_sync/signin_confirmation_helper.cc
@@ -9,6 +9,7 @@
#include "base/bind.h"
#include "base/callback.h"
+#include "base/logging.h"
#include "base/sequenced_task_runner.h"
#include "base/strings/string16.h"
#include "base/threading/sequenced_task_runner_handle.h"