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

Side by Side Diff: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 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 // This test creates a safebrowsing service using test safebrowsing database 5 // This test creates a safebrowsing service using test safebrowsing database
6 // and a test protocol manager. It is used to test logics in safebrowsing 6 // and a test protocol manager. It is used to test logics in safebrowsing
7 // service. 7 // service.
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/files/scoped_temp_dir.h" 14 #include "base/files/scoped_temp_dir.h"
15 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
16 #include "base/metrics/field_trial.h" 17 #include "base/metrics/field_trial.h"
17 #include "base/path_service.h" 18 #include "base/path_service.h"
18 #include "base/prefs/pref_service.h" 19 #include "base/prefs/pref_service.h"
19 #include "base/strings/string_split.h" 20 #include "base/strings/string_split.h"
20 #include "base/strings/string_util.h" 21 #include "base/strings/string_util.h"
21 #include "base/strings/utf_string_conversions.h" 22 #include "base/strings/utf_string_conversions.h"
22 #include "base/test/thread_test_helper.h" 23 #include "base/test/thread_test_helper.h"
23 #include "base/time/time.h" 24 #include "base/time/time.h"
25 #include "build/build_config.h"
24 #include "chrome/browser/bookmarks/startup_task_runner_service_factory.h" 26 #include "chrome/browser/bookmarks/startup_task_runner_service_factory.h"
25 #include "chrome/browser/browser_process.h" 27 #include "chrome/browser/browser_process.h"
26 #include "chrome/browser/chrome_notification_types.h" 28 #include "chrome/browser/chrome_notification_types.h"
27 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" 29 #include "chrome/browser/content_settings/host_content_settings_map_factory.h"
28 #include "chrome/browser/prerender/prerender_manager.h" 30 #include "chrome/browser/prerender/prerender_manager.h"
29 #include "chrome/browser/profiles/profile.h" 31 #include "chrome/browser/profiles/profile.h"
30 #include "chrome/browser/profiles/profile_manager.h" 32 #include "chrome/browser/profiles/profile_manager.h"
31 #include "chrome/browser/safe_browsing/client_side_detection_service.h" 33 #include "chrome/browser/safe_browsing/client_side_detection_service.h"
32 #include "chrome/browser/safe_browsing/database_manager.h" 34 #include "chrome/browser/safe_browsing/database_manager.h"
33 #include "chrome/browser/safe_browsing/local_database_manager.h" 35 #include "chrome/browser/safe_browsing/local_database_manager.h"
(...skipping 1595 matching lines...) Expand 10 before | Expand all | Expand 10 after
1629 chrome::NOTIFICATION_SAFE_BROWSING_UPDATE_COMPLETE, 1631 chrome::NOTIFICATION_SAFE_BROWSING_UPDATE_COMPLETE,
1630 content::Source<SafeBrowsingDatabaseManager>( 1632 content::Source<SafeBrowsingDatabaseManager>(
1631 sb_service_->database_manager().get())); 1633 sb_service_->database_manager().get()));
1632 BrowserThread::PostTask( 1634 BrowserThread::PostTask(
1633 BrowserThread::IO, FROM_HERE, 1635 BrowserThread::IO, FROM_HERE,
1634 base::Bind(&SafeBrowsingDatabaseManagerCookieTest::ForceUpdate, this)); 1636 base::Bind(&SafeBrowsingDatabaseManagerCookieTest::ForceUpdate, this));
1635 observer.Wait(); 1637 observer.Wait();
1636 } 1638 }
1637 1639
1638 } // namespace safe_browsing 1640 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_service.cc ('k') | chrome/browser/safe_browsing/safe_browsing_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698