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

Side by Side Diff: chrome/browser/autofill/autofill_manager_unittest.cc

Issue 3203008: Move prefs-related files under chrome/browser/ into a prefs/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <vector> 5 #include <vector>
6 6
7 #include "base/ref_counted.h" 7 #include "base/ref_counted.h"
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "base/scoped_vector.h" 9 #include "base/scoped_vector.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
11 #include "base/tuple.h" 11 #include "base/tuple.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 #include "chrome/browser/autofill/autofill_common_unittest.h" 13 #include "chrome/browser/autofill/autofill_common_unittest.h"
14 #include "chrome/browser/autofill/autofill_manager.h" 14 #include "chrome/browser/autofill/autofill_manager.h"
15 #include "chrome/browser/autofill/autofill_profile.h" 15 #include "chrome/browser/autofill/autofill_profile.h"
16 #include "chrome/browser/autofill/credit_card.h" 16 #include "chrome/browser/autofill/credit_card.h"
17 #include "chrome/browser/autofill/personal_data_manager.h" 17 #include "chrome/browser/autofill/personal_data_manager.h"
18 #include "chrome/browser/pref_service.h" 18 #include "chrome/browser/prefs/pref_service.h"
19 #include "chrome/browser/profile.h" 19 #include "chrome/browser/profile.h"
20 #include "chrome/browser/renderer_host/test/test_render_view_host.h" 20 #include "chrome/browser/renderer_host/test/test_render_view_host.h"
21 #include "chrome/browser/tab_contents/test_tab_contents.h" 21 #include "chrome/browser/tab_contents/test_tab_contents.h"
22 #include "chrome/common/ipc_test_sink.h" 22 #include "chrome/common/ipc_test_sink.h"
23 #include "chrome/common/pref_names.h" 23 #include "chrome/common/pref_names.h"
24 #include "chrome/common/render_messages.h" 24 #include "chrome/common/render_messages.h"
25 #include "googleurl/src/gurl.h" 25 #include "googleurl/src/gurl.h"
26 #include "testing/gtest/include/gtest/gtest.h" 26 #include "testing/gtest/include/gtest/gtest.h"
27 #include "webkit/glue/form_data.h" 27 #include "webkit/glue/form_data.h"
28 #include "webkit/glue/form_field.h" 28 #include "webkit/glue/form_field.h"
(...skipping 1218 matching lines...) Expand 10 before | Expand all | Expand 10 after
1247 ASSERT_FALSE(profile()->GetPrefs()->GetBoolean( 1247 ASSERT_FALSE(profile()->GetPrefs()->GetBoolean(
1248 prefs::kAutoFillAuxiliaryProfilesEnabled)); 1248 prefs::kAutoFillAuxiliaryProfilesEnabled));
1249 profile()->GetPrefs()->SetBoolean( 1249 profile()->GetPrefs()->SetBoolean(
1250 prefs::kAutoFillAuxiliaryProfilesEnabled, true); 1250 prefs::kAutoFillAuxiliaryProfilesEnabled, true);
1251 profile()->GetPrefs()->ClearPref(prefs::kAutoFillAuxiliaryProfilesEnabled); 1251 profile()->GetPrefs()->ClearPref(prefs::kAutoFillAuxiliaryProfilesEnabled);
1252 ASSERT_FALSE(profile()->GetPrefs()->GetBoolean( 1252 ASSERT_FALSE(profile()->GetPrefs()->GetBoolean(
1253 prefs::kAutoFillAuxiliaryProfilesEnabled)); 1253 prefs::kAutoFillAuxiliaryProfilesEnabled));
1254 #endif 1254 #endif
1255 } 1255 }
1256 1256
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698