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

Side by Side Diff: chrome/browser/supervised_user/supervised_user_bookmarks_handler_unittest.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <stddef.h>
6
5 #include <iostream> 7 #include <iostream>
6 #include <map> 8 #include <map>
7 #include <string> 9 #include <string>
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/json/json_reader.h" 12 #include "base/json/json_reader.h"
11 #include "base/json/json_writer.h" 13 #include "base/json/json_writer.h"
12 #include "base/macros.h" 14 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
14 #include "base/values.h" 16 #include "base/values.h"
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 TEST_F(SupervisedUserBookmarksHandlerTest, Circle) { 315 TEST_F(SupervisedUserBookmarksHandlerTest, Circle) {
314 // Make some fake settings which include a circular reference in the folders. 316 // Make some fake settings which include a circular reference in the folders.
315 scoped_ptr<base::DictionaryValue> settings( 317 scoped_ptr<base::DictionaryValue> settings(
316 CreateSettings(CreateLinkDictionary(), 318 CreateSettings(CreateLinkDictionary(),
317 CreateFolderDictionaryWithCircle())); 319 CreateFolderDictionaryWithCircle()));
318 scoped_ptr<base::ListValue> bookmarks( 320 scoped_ptr<base::ListValue> bookmarks(
319 SupervisedUserBookmarksHandler::BuildBookmarksTree(*settings.get())); 321 SupervisedUserBookmarksHandler::BuildBookmarksTree(*settings.get()));
320 // Don't care what exactly the result looks like, just that we don't run into 322 // Don't care what exactly the result looks like, just that we don't run into
321 // an endless loop. 323 // an endless loop.
322 } 324 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698