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

Side by Side Diff: chrome/browser/browsing_data/browsing_data_remover_browsertest.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, 11 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 <stddef.h>
6
5 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
6 #include "base/path_service.h" 8 #include "base/path_service.h"
7 #include "base/prefs/pref_service.h" 9 #include "base/prefs/pref_service.h"
8 #include "chrome/browser/browsing_data/browsing_data_helper.h" 10 #include "chrome/browser/browsing_data/browsing_data_helper.h"
9 #include "chrome/browser/browsing_data/browsing_data_remover.h" 11 #include "chrome/browser/browsing_data/browsing_data_remover.h"
10 #include "chrome/browser/browsing_data/browsing_data_remover_test_util.h" 12 #include "chrome/browser/browsing_data/browsing_data_remover_test_util.h"
11 #include "chrome/browser/chrome_notification_types.h" 13 #include "chrome/browser/chrome_notification_types.h"
12 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/browser/ui/browser.h" 15 #include "chrome/browser/ui/browser.h"
14 #include "chrome/browser/ui/tabs/tab_strip_model.h" 16 #include "chrome/browser/ui/tabs/tab_strip_model.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 ui_test_utils::NavigateToURL(browser(), url); 131 ui_test_utils::NavigateToURL(browser(), url);
130 RunScriptAndCheckResult("createTable()", "done"); 132 RunScriptAndCheckResult("createTable()", "done");
131 RunScriptAndCheckResult("insertRecord('text2')", "done"); 133 RunScriptAndCheckResult("insertRecord('text2')", "done");
132 RunScriptAndCheckResult("getRecords()", "text2"); 134 RunScriptAndCheckResult("getRecords()", "text2");
133 } 135 }
134 136
135 // Profile::ClearNetworkingHistorySince should be exercised here too see whether 137 // Profile::ClearNetworkingHistorySince should be exercised here too see whether
136 // the call gets delegated through ProfileIO[Impl]Data properly, which is hard 138 // the call gets delegated through ProfileIO[Impl]Data properly, which is hard
137 // to write unit-tests for. Currently this is done by both of the above tests. 139 // to write unit-tests for. Currently this is done by both of the above tests.
138 // Add standalone test if this changes. 140 // Add standalone test if this changes.
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_remover.cc ('k') | chrome/browser/browsing_data/browsing_data_remover_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698