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

Side by Side Diff: chrome/browser/content_settings/content_settings_pref_provider_unittest.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 "components/content_settings/core/browser/content_settings_pref_provide r.h" 5 #include "components/content_settings/core/browser/content_settings_pref_provide r.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
11 #include "base/prefs/default_pref_store.h" 12 #include "base/prefs/default_pref_store.h"
12 #include "base/prefs/overlay_user_pref_store.h" 13 #include "base/prefs/overlay_user_pref_store.h"
13 #include "base/prefs/pref_change_registrar.h" 14 #include "base/prefs/pref_change_registrar.h"
14 #include "base/prefs/pref_service.h" 15 #include "base/prefs/pref_service.h"
15 #include "base/prefs/scoped_user_pref_update.h" 16 #include "base/prefs/scoped_user_pref_update.h"
16 #include "base/prefs/testing_pref_store.h" 17 #include "base/prefs/testing_pref_store.h"
17 #include "base/test/simple_test_clock.h" 18 #include "base/test/simple_test_clock.h"
18 #include "base/threading/platform_thread.h" 19 #include "base/threading/platform_thread.h"
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 for (const char* pref : nonempty_prefs) { 537 for (const char* pref : nonempty_prefs) {
537 DictionaryPrefUpdate update(&prefs, pref); 538 DictionaryPrefUpdate update(&prefs, pref);
538 const base::DictionaryValue* dictionary = update.Get(); 539 const base::DictionaryValue* dictionary = update.Get();
539 EXPECT_EQ(1u, dictionary->size()); 540 EXPECT_EQ(1u, dictionary->size());
540 } 541 }
541 542
542 provider.ShutdownOnUIThread(); 543 provider.ShutdownOnUIThread();
543 } 544 }
544 545
545 } // namespace content_settings 546 } // namespace content_settings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698