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

Unified Diff: chrome/browser/sync/test/integration/sync_extension_helper.cc

Issue 2365763002: [Sync] Removed passphrase helper methods, removed ((n)) pattern, and fixed lint violations. (Closed)
Patch Set: Removed useless pass-through accessors. 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: chrome/browser/sync/test/integration/sync_extension_helper.cc
diff --git a/chrome/browser/sync/test/integration/sync_extension_helper.cc b/chrome/browser/sync/test/integration/sync_extension_helper.cc
index e342e866e016b6c74af347fc85af50dc6fefad53..7ba1088ca8ea43974d7a6263fd1f9bc7b74546b5 100644
--- a/chrome/browser/sync/test/integration/sync_extension_helper.cc
+++ b/chrome/browser/sync/test/integration/sync_extension_helper.cc
@@ -4,6 +4,10 @@
#include "chrome/browser/sync/test/integration/sync_extension_helper.h"
+#include <list>
+#include <memory>
+#include <utility>
+
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/guid.h"
@@ -186,7 +190,7 @@ void SyncExtensionHelper::InstallExtensionsPendingForSync(Profile* profile) {
std::list<std::string>::const_iterator iter;
const extensions::PendingExtensionInfo* info = NULL;
for (iter = pending_crx_ids.begin(); iter != pending_crx_ids.end(); ++iter) {
- ASSERT_TRUE((info = pending_extension_manager->GetById(*iter)));
+ ASSERT_TRUE(info = pending_extension_manager->GetById(*iter));
if (!info->is_from_sync())
continue;

Powered by Google App Engine
This is Rietveld 408576698