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

Side by Side Diff: chrome/browser/sync/test/integration/sessions_helper.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/sync/test/integration/sessions_helper.h" 5 #include "chrome/browser/sync/test/integration/sessions_helper.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 10
9 #include "base/bind.h" 11 #include "base/bind.h"
10 #include "base/command_line.h" 12 #include "base/command_line.h"
11 #include "base/location.h" 13 #include "base/location.h"
12 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
13 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
14 #include "base/stl_util.h" 16 #include "base/stl_util.h"
15 #include "base/test/test_timeouts.h" 17 #include "base/test/test_timeouts.h"
16 #include "base/thread_task_runner_handle.h" 18 #include "base/thread_task_runner_handle.h"
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 return !checker.TimedOut(); 432 return !checker.TimedOut();
431 } 433 }
432 434
433 void DeleteForeignSession(int index, std::string session_tag) { 435 void DeleteForeignSession(int index, std::string session_tag) {
434 ProfileSyncServiceFactory::GetInstance()->GetForProfile( 436 ProfileSyncServiceFactory::GetInstance()->GetForProfile(
435 test()->GetProfile(index))-> 437 test()->GetProfile(index))->
436 GetOpenTabsUIDelegate()->DeleteForeignSession(session_tag); 438 GetOpenTabsUIDelegate()->DeleteForeignSession(session_tag);
437 } 439 }
438 440
439 } // namespace sessions_helper 441 } // namespace sessions_helper
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698