summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/history_browsertest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Use a direct include of the message_loop header in chrome/browser/, part 4.avi@chromium.org2013-07-181-1/+1
| | | | | | | | | | BUG=260807 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/19556004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212189 0039d316-1c4b-4281-b951-d872f2087c98
* chrome/browser: Migrate from googleurl/ includes to url/ ones. Part 1tfarina@chromium.org2013-07-021-1/+1
| | | | | | | | | BUG=229660 TBR=darin@chromium.org Review URL: https://chromiumcodereview.appspot.com/18054023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209705 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of utf_string_conversions.h in chrome/browser/, part 2.avi@chromium.org2013-06-071-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16561007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204977 0039d316-1c4b-4281-b951-d872f2087c98
* Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*"rsleevi@chromium.org2013-06-021-1/+1
| | | | | | | | | | | Linux fixes, Part 3 of N BUG=110610 TBR=darin Review URL: https://chromiumcodereview.appspot.com/16296002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203626 0039d316-1c4b-4281-b951-d872f2087c98
* chrome: Use base::MessageLoop. (Part 3)xhwang@chromium.org2013-05-281-1/+1
| | | | | | | | | | | | This CL updates chrome/browser/* other than chrome/browser/ui which is in another CL. BUG=236029 TBR=brettw Review URL: https://chromiumcodereview.appspot.com/14113053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202664 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move two more url constants into content namespace.tfarina@chromium.org2013-05-151-1/+1
| | | | | | | | TBR=joi@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/14698018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200165 0039d316-1c4b-4281-b951-d872f2087c98
* Move remaining non-test, non-Chrome-specific Prefs code to base/prefs/.joi@chromium.org2013-02-111-1/+1
| | | | | | | | | | | | | | This is a mostly-automated change, using ./tools/git/move_source_file.py to move files and fix up include guards and #includes from other files. Manual edits were limited to fixing up .gypi files and adding BASE_PREFS_EXPORT where needed. TBR=ben@chromium.org BUG=155525 Review URL: https://codereview.chromium.org/12211105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181707 0039d316-1c4b-4281-b951-d872f2087c98
* Merge branch 'master' into file_path_browserbrettw@chromium.org2013-02-101-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | version control markers Merge branch 'master' into file_path_browser remove version control Fix typo Merge branch 'master' into file_path_browser Conflicts: chrome/browser/intents/native_services_browsertest.cc chrome/browser/ui/intents/native_file_picker_service.cc Merge branch 'master' into file_path_browser Conflicts: chrome/browser/chromeos/drive/drive_file_system.cc chrome/browser/chromeos/drive/drive_file_system.h chrome/browser/chromeos/drive/drive_file_system_interface.h chrome/browser/chromeos/drive/drive_file_system_unittest.cc chrome/browser/chromeos/drive/file_system/drive_operations.cc chrome/browser/chromeos/login/wallpaper_manager.cc chrome/browser/chromeos/login/wallpaper_manager.h chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc chrome/browser/extensions/api/sync_file_system/extension_sync_event_observer.cc chrome/browser/google_apis/gdata_wapi_operations.cc chrome/browser/google_apis/gdata_wapi_operations.h chrome/browser/google_apis/gdata_wapi_operations_unittest.cc chrome/browser/profiles/off_the_record_profile_impl.cc chrome/browser/profiles/off_the_record_profile_impl.h chrome/browser/profiles/profile_impl.cc chrome/browser/profiles/profile_impl.h chrome/browser/profiles/profile_impl_io_data.cc chrome/browser/profiles/profile_impl_io_data.h chrome/browser/sync_file_system/drive_file_sync_client_unittest.cc chrome/browser/ui/webui/options/manage_profile_handler.cc Long lines long lines some long lines. long lines long lines Beginning of lines. Rename FilePath -> base::FilePath in chrome/browser git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181638 0039d316-1c4b-4281-b951-d872f2087c98
* history: Extract HistoryDBTask into its own header file.tfarina@chromium.org2013-02-081-2/+3
| | | | | | | | | | BUG=169591 R=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/12178011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181415 0039d316-1c4b-4281-b951-d872f2087c98
* Linux/ChromeOS Chromium style checker cleanup, chrome/browser edition.rsleevi@chromium.org2013-02-071-2/+2
| | | | | | | | | | | Automated clean up of style checker errors that were missed due to the plugin not being executed on implementation files. BUG=115047 Review URL: https://codereview.chromium.org/12212048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181164 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TabStripModel wrapper use.avi@chromium.org2013-01-291-11/+17
| | | | | | | | | | BUG=167548 TEST=no functional change Review URL: https://chromiumcodereview.appspot.com/12066003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179254 0039d316-1c4b-4281-b951-d872f2087c98
* HistoryBrowserTest.HistorySearchXSSpkotwicz@chromium.org2013-01-251-2/+7
| | | | | | | | | | BUG=22111 Test=Waterfall is less flaky TBR=zea Review URL: https://codereview.chromium.org/11896115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178877 0039d316-1c4b-4281-b951-d872f2087c98
* history: Rename history.h to history_service.htfarina@chromium.org2013-01-251-1/+1
| | | | | | | | | | | | | history.h contains HistoryService class as its main class, so rename the file to match with the class name. BUG=169591 R=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/12036069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178753 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify ExecuteJavaScript* functions.darin@chromium.org2013-01-041-4/+2
| | | | | | | | | | | | | | | | | | | | Remove the "Java" and rename to ExecuteScript*. This better matches conventions elsewhere in the codebase. Introduce ExecuteScriptInFrame* variants for the less common case where script execution in a subframe is desired. Make it possible to pass the ExecuteScript* family of functions either a WebContents pointer or a RenderViewHost pointer to further simplify callsites. R=jam@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/11753009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175156 0039d316-1c4b-4281-b951-d872f2087c98
* Change ExecuteJavaScript* helper functions in browser_test_utils.{h,cc}darin@chromium.org2013-01-021-2/+2
| | | | | | | | | | | | | to take std::string (UTF-8) instead of std::wstring. This seems to help simplify callsites considerably. TBR=jam@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/11728003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174880 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TabContents from TabStripModel.avi@chromium.org2012-12-131-4/+4
| | | | | | | | | | BUG=107201 TEST=no visible change Review URL: https://chromiumcodereview.appspot.com/11547010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172960 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TabContents from ui/find_bar.avi@chromium.org2012-11-071-1/+1
| | | | | | | | | | BUG=107201 TEST=no visible change Review URL: https://chromiumcodereview.appspot.com/11341021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166392 0039d316-1c4b-4281-b951-d872f2087c98
* Make history service not ref-counted and not thread-safeakalin@chromium.org2012-11-011-5/+2
| | | | | | | | | | | | | | | | | | | | | This is in preparation for making it handle delete directives. Make HistoryService use a ThreadChecker. Make VisitDataObserver list a non-thread-safe observer list. Make HistoryService vend WeakPtrs for sync. Make PrerenderLocalPredictor not keep a pointer to the HistoryService. Make sync trampoline to the UI thread when posting tasks on the history thread. BUG=141245 Review URL: https://chromiumcodereview.appspot.com/11229049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165370 0039d316-1c4b-4281-b951-d872f2087c98
* Test suite that monitors the disposition of JS-created windows based on whatericu@chromium.org2012-10-241-1/+2
| | | | | | | | | | | | | modifiers were involved in the user gesture that triggered them. See https://bugs.webkit.org/show_bug.cgi?id=99202 for a patch that needs to land before this test will fully pass. BUG=31631 Review URL: https://codereview.chromium.org/11235048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163857 0039d316-1c4b-4281-b951-d872f2087c98
* Second try of 157576 https://chromiumcodereview.appspot.com/10780013/cem.kocagil@gmail.com2012-09-251-1/+1
| | | | | | | | | | | | Add reverse URL handler for shortening uber URLs BUG=120493 TEST=Open the settings page. The address bar should show "chrome://settings". Click the "extensions" button on the left. The address bar should show "chrome://extensions". Click the "settings" button on the left, "show advanced settings", "content settings". The address bar should show "chrome://settings/content". Review URL: https://chromiumcodereview.appspot.com/10941050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158504 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 157576 - Add reverse URL handler for shortening uber URLswjia@chromium.org2012-09-191-1/+1
| | | | | | | | | | | | | | The previous patch failed UberURLHandler in browser_tests, therefore the reversion. BUG=120493 TEST=Open the settings page. The address bar should show "chrome://settings". Click the "extensions" button on the left. The address bar should show "chrome://extensions". Click the "settings" button on the left, "show advanced settings", "content settings". The address bar should show "chrome://settings/content". Review URL: https://chromiumcodereview.appspot.com/10780013 TBR=cem.kocagil@gmail.com Review URL: https://codereview.chromium.org/10948041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157598 0039d316-1c4b-4281-b951-d872f2087c98
* Add reverse URL handler for shortening uber URLscem.kocagil@gmail.com2012-09-191-1/+1
| | | | | | | | | BUG=120493 TEST=Open the settings page. The address bar should show "chrome://settings". Click the "extensions" button on the left. The address bar should show "chrome://extensions". Click the "settings" button on the left, "show advanced settings", "content settings". The address bar should show "chrome://settings/content". Review URL: https://chromiumcodereview.appspot.com/10780013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157576 0039d316-1c4b-4281-b951-d872f2087c98
* Convert the history pyauto tests to browser_tests.jam@chromium.org2012-08-301-7/+226
| | | | | | | | | | | | | | | | testStarredBookmarkInHistory was skipped since it wasn't very useful (it got the star state from the bookmark code, which it also called) testForge is testing adding and reading a url from the history database, which is a duplicate of many browser and unit tests (i.e. HistoryTest.*) testHttpsHistory is a duplicate of HistoryTest.MakeIntranetURLsTyped testFtpHistory is not very useful since if multiple schemes work, we don't need to test every scheme testAppendTabAddPage is a duplicate of a subset of testReloadBringPageToTop testOpenWindowAddPage is a duplicate of a subset of testMultiTabsWindowsHistory I fixed a bug in ui_test_utils::NavigateToURLWithDisposition which made it not wait on NEW_BACKGROUND_TAB disposition. I also made HistoryEnumerator return the urls in sorted order. BUG=143637 Review URL: https://chromiumcodereview.appspot.com/10915002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154229 0039d316-1c4b-4281-b951-d872f2087c98
* Converted policy.PolicyTest.testSavingBrowserHistoryDisabled pyauto test to ↵joaodasilva@chromium.org2012-08-291-35/+1
| | | | | | | | | | a browser_test. BUG=143637 Review URL: https://chromiumcodereview.appspot.com/10882060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153881 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 152946 - Replace HistoryQuickProvider protobuf-based caching with an ↵ricow@chromium.org2012-08-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SQLite-based database. The protobuf-based cache was only being read at startup and written at shutdown. (Except that when the cache could not be read at startup the cache would immediately be saved upon private data reconstruction from the History database.) With the new implementation using an SQLite database for the HQP cache the private data will be restored from the cache database at startup and continually updated during normal operation. There is no need to flush or write the cache at shutdown as it is constantly kept up-to-date. Detailed comments about the changes made in this CL can be found in the document shared separately. Previous reviewers: sky, pkasting, shess. BUG=95686, 95876, 131668 TEST=New tests added, old tests updated, all tests pass. To manually verify changes: NOTE: For tests using chrome://omnibox be sure to check the "Show results per provider" and then look at the results for the HistoryQuickProvider. 1) New visits: Type an URL never visited before. Bring up new tab. Start typing the URL or parts of the page title or both and verify that the page is offered as a suggestion. 2) New visits: Type an URL never visited before. Do search using chrome://omnibox. New visit should show. 3) Delete visit: Visit some pages and verify they have been recorded. Bring up history and delete one of the visits. Check via chrome://omnibox that it was deleted. 4) Clear history: Visit some pages. Clear the visit history. Check via chrome://omnibox that none of the visits are still returned by the HQP. 5) Updated site: Create a local page and visit it. Search using chrome://omnibox by page title and verify it can be found. Change the page title dramatically and revisit the page. Verify via chrome://oomnibox that the page can be found by words from the new title. Previously reviewed as: http://codereview.chromium.org/10477018/. 10477018 was reverted due to memory leaks detected by build bots. Review URL: https://chromiumcodereview.appspot.com/10837244 TBR=mrossetti@chromium.org This is causing performance regressions across a range of perf bots. Review URL: https://chromiumcodereview.appspot.com/10872032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152963 0039d316-1c4b-4281-b951-d872f2087c98
* Replace HistoryQuickProvider protobuf-based caching with an SQLite-based ↵mrossetti@chromium.org2012-08-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | database. The protobuf-based cache was only being read at startup and written at shutdown. (Except that when the cache could not be read at startup the cache would immediately be saved upon private data reconstruction from the History database.) With the new implementation using an SQLite database for the HQP cache the private data will be restored from the cache database at startup and continually updated during normal operation. There is no need to flush or write the cache at shutdown as it is constantly kept up-to-date. Detailed comments about the changes made in this CL can be found in the document shared separately. Previous reviewers: sky, pkasting, shess. BUG=95686, 95876, 131668 TEST=New tests added, old tests updated, all tests pass. To manually verify changes: NOTE: For tests using chrome://omnibox be sure to check the "Show results per provider" and then look at the results for the HistoryQuickProvider. 1) New visits: Type an URL never visited before. Bring up new tab. Start typing the URL or parts of the page title or both and verify that the page is offered as a suggestion. 2) New visits: Type an URL never visited before. Do search using chrome://omnibox. New visit should show. 3) Delete visit: Visit some pages and verify they have been recorded. Bring up history and delete one of the visits. Check via chrome://omnibox that it was deleted. 4) Clear history: Visit some pages. Clear the visit history. Check via chrome://omnibox that none of the visits are still returned by the HQP. 5) Updated site: Create a local page and visit it. Search using chrome://omnibox by page title and verify it can be found. Change the page title dramatically and revisit the page. Verify via chrome://oomnibox that the page can be found by words from the new title. Previously reviewed as: http://codereview.chromium.org/10477018/. 10477018 was reverted due to memory leaks detected by build bots. Review URL: https://chromiumcodereview.appspot.com/10837244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152946 0039d316-1c4b-4281-b951-d872f2087c98
* Let ui_test_utils::FindInPage optionally return the selection rect. This ↵jam@chromium.org2012-08-171-1/+1
| | | | | | | | will be used in a future change, but I wanted to break it up. Review URL: https://chromiumcodereview.appspot.com/10823392 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152102 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 151419 - Replace HistoryQuickProvider protobuf-based caching with an ↵mrossetti@chromium.org2012-08-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | SQLite-based database. The protobuf-based cache was only being read at startup and written at shutdown. (Except that when the cache could not be read at startup the cache would immediately be saved upon private data reconstruction from the History database.) With the new implementation using an SQLite database for the HQP cache the private data will be restored from the cache database at startup and continually updated during normal operation. There is no need to flush or write the cache at shutdown as it is constantly kept up-to-date. Detailed comments about the changes made in this CL can be found in the document shared separately. Reviewer suggestions: sky: for proper thread usage. Also chrome/browser/ui/ and chrome/browser/visitedlink/. pkasting: for whatever you'd like to check over but please look over the design document shared separately. shess: please take a look at database usage in chrome/browser/history/in_memory_url_cache_database.h/.cc. BUG=95686,95876,131668 TEST=New tests added, old tests updated, all tests pass. To manually verify changes: NOTE: For tests using chrome://omnibox be sure to check the "Show results per provider" and then look at the results for the HistoryQuickProvider. 1) New visits: Type an URL never visited before. Bring up new tab. Start typing the URL or parts of the page title or both and verify that the page is offered as a suggestion. 2) New visits: Type an URL never visited before. Do search using chrome://omnibox. New visit should show. 3) Delete visit: Visit some pages and verify they have been recorded. Bring up history and delete one of the visits. Check via chrome://omnibox that it was deleted. 4) Clear history: Visit some pages. Clear the visit history. Check via chrome://omnibox that none of the visits are still returned by the HQP. 5) Updated site: Create a local page and visit it. Search using chrome://omnibox by page title and verify it can be found. Change the page title dramatically and revisit the page. Verify via chrome://oomnibox that the page can be found by words from the new title. Review URL: https://chromiumcodereview.appspot.com/10477018 TBR=mrossetti@chromium.org Review URL: https://chromiumcodereview.appspot.com/10830297 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151424 0039d316-1c4b-4281-b951-d872f2087c98
* Replace HistoryQuickProvider protobuf-based caching with an SQLite-based ↵mrossetti@chromium.org2012-08-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | database. The protobuf-based cache was only being read at startup and written at shutdown. (Except that when the cache could not be read at startup the cache would immediately be saved upon private data reconstruction from the History database.) With the new implementation using an SQLite database for the HQP cache the private data will be restored from the cache database at startup and continually updated during normal operation. There is no need to flush or write the cache at shutdown as it is constantly kept up-to-date. Detailed comments about the changes made in this CL can be found in the document shared separately. Reviewer suggestions: sky: for proper thread usage. Also chrome/browser/ui/ and chrome/browser/visitedlink/. pkasting: for whatever you'd like to check over but please look over the design document shared separately. shess: please take a look at database usage in chrome/browser/history/in_memory_url_cache_database.h/.cc. BUG=95686,95876,131668 TEST=New tests added, old tests updated, all tests pass. To manually verify changes: NOTE: For tests using chrome://omnibox be sure to check the "Show results per provider" and then look at the results for the HistoryQuickProvider. 1) New visits: Type an URL never visited before. Bring up new tab. Start typing the URL or parts of the page title or both and verify that the page is offered as a suggestion. 2) New visits: Type an URL never visited before. Do search using chrome://omnibox. New visit should show. 3) Delete visit: Visit some pages and verify they have been recorded. Bring up history and delete one of the visits. Check via chrome://omnibox that it was deleted. 4) Clear history: Visit some pages. Clear the visit history. Check via chrome://omnibox that none of the visits are still returned by the HQP. 5) Updated site: Create a local page and visit it. Search using chrome://omnibox by page title and verify it can be found. Change the page title dramatically and revisit the page. Verify via chrome://oomnibox that the page can be found by words from the new title. Review URL: https://chromiumcodereview.appspot.com/10477018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151419 0039d316-1c4b-4281-b951-d872f2087c98
* Removing usage of profile_->GetHistory() from the codebase in order to ↵rlp@chromium.org2012-08-021-12/+16
| | | | | | | | | | | | | remove that function. BUG=97804 TEST=existing unittests TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10831103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149583 0039d316-1c4b-4281-b951-d872f2087c98
* Move ui_test_utils::RunMessageLoop to test_utils so that it can be reused by ↵jam@chromium.org2012-07-261-2/+2
| | | | | | | | | content_browsertests. BUG=90448 Review URL: https://chromiumcodereview.appspot.com/10822030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148514 0039d316-1c4b-4281-b951-d872f2087c98
* Move input event simulation functions from ui_test_utils.h to ↵jam@chromium.org2012-07-201-1/+1
| | | | | | | | | browser_test_utils.h so they can be shared with content_browsertests. BUG=90448 Review URL: https://chromiumcodereview.appspot.com/10790110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147740 0039d316-1c4b-4281-b951-d872f2087c98
* Move TitleWatcher from ui_test_utils.h to browser_test_utils.h so it can be ↵jam@chromium.org2012-07-201-1/+2
| | | | | | | | | | reused by content_browsertests. BUG=90448 TBR=scottmg Review URL: https://chromiumcodereview.appspot.com/10815025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147618 0039d316-1c4b-4281-b951-d872f2087c98
* Move tab functions off Browser into browser_tabstrip and browser_tabrestore.ben@chromium.org2012-06-291-4/+5
| | | | | | | | http://crbug.com/133576 TEST=none Review URL: https://chromiumcodereview.appspot.com/10702029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145015 0039d316-1c4b-4281-b951-d872f2087c98
* Removing usage of profile_->GetHistory() from the codebase in order to ↵rlp@chromium.org2012-06-191-1/+3
| | | | | | | | | | | | | remove that function. BUG=97804 TEST=existing unittests TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10557022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143063 0039d316-1c4b-4281-b951-d872f2087c98
* TabContentsWrapper -> TabContents, part 16.avi@chromium.org2012-06-081-4/+4
| | | | | | | | | | | | History. BUG=131026 TEST=no change Review URL: https://chromiumcodereview.appspot.com/10534062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141314 0039d316-1c4b-4281-b951-d872f2087c98
* Move test_browser_thread.h from content\test to content\public\test. This ↵jam@chromium.org2012-06-041-1/+1
| | | | | | | | | | way we can enforce that internal content headers don't leak to embedders. BUG=98716 TBR=phajdan.jr Review URL: https://chromiumcodereview.appspot.com/10500016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140254 0039d316-1c4b-4281-b951-d872f2087c98
* Change WaitForHistoryToLoad to Take a HistoryService...mrossetti@chromium.org2012-05-241-4/+8
| | | | | | | | | | ...instead of a Browser. This makes the function more general and will allow me to call it directly from some new unit tests that don't actually have a Browser, but do have a HistoryService. BUG=NONE TEST=Existing tests pass. Review URL: https://chromiumcodereview.appspot.com/10332316 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138832 0039d316-1c4b-4281-b951-d872f2087c98
* browser: Remove tab handler concept.tfarina@chromium.org2012-05-061-2/+2
| | | | | | | | | | BUG=126182 R=ben@chromium.org TBR=sky@chromium.org,thestig@chromium.org,mirandac@chromium.org Review URL: https://chromiumcodereview.appspot.com/10377015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135577 0039d316-1c4b-4281-b951-d872f2087c98
* Convert the autofill interactive browser test to a normal browser_test. I ↵jam@chromium.org2012-05-041-2/+1
| | | | | | | | | added testing methods to fake input events that don't depend on the OS and being at the front. BUG=121574 Review URL: https://chromiumcodereview.appspot.com/10368010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135432 0039d316-1c4b-4281-b951-d872f2087c98
* RefCounted types should not have public destructors, chrome/browser/ part 1rsleevi@chromium.org2012-04-271-3/+4
| | | | | | | | | | BUG=123295 TEST=none Review URL: http://codereview.chromium.org/10071032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134231 0039d316-1c4b-4281-b951-d872f2087c98
* Convert session history ui test to a browser test, renabling all the ↵jam@chromium.org2012-04-231-0/+18
| | | | | | | | | disabled tests and got rid of flaky patterns. Hopefully they don't fail again. BUG=121574 Review URL: https://chromiumcodereview.appspot.com/10144015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133458 0039d316-1c4b-4281-b951-d872f2087c98
* Convert history ui_test to browser_tests.jam@chromium.org2012-04-191-1/+74
| | | | | | | BUG=121574 Review URL: https://chromiumcodereview.appspot.com/10125001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133012 0039d316-1c4b-4281-b951-d872f2087c98
* Removing MessageLoop::QuitTask() from chrome/dcheng@chromium.org2011-12-101-1/+1
| | | | | | | | | | | | base/task.h is going away and being replaced by base/bind.h and base/callback.h. This CL was automatically generated by sed. BUG=none TEST=none Review URL: http://codereview.chromium.org/8873032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113896 0039d316-1c4b-4281-b951-d872f2087c98
* Move BrowserThread to content namespace.joi@chromium.org2011-11-021-0/+2
| | | | | | | | | TBR=owners BUG=98716 Review URL: http://codereview.chromium.org/8437002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108270 0039d316-1c4b-4281-b951-d872f2087c98
* Split BrowserThread into public API and private implementation, step 1.joi@chromium.org2011-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | | Only content/ now has the ability to create BrowserThread objects, with the exception that tests can create the content::TestBrowserThread subclass, and (temporarily) code in chrome/ can create the DeprecatedBrowserThread subclass. A follow-up change will make content/ take care of its own thread creation, remove DeprecatedBrowserThread, and move all state and non-trivial constructors from BrowserThread down to BrowserThreadImpl. Also moved BrowserProcessSubThread into content/ namespace. As part of follow-up cleanup, chrome/ will stop using this class. BUG=98716 TEST=existing Review URL: http://codereview.chromium.org/8392042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107718 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Complete cleanup of history/.jhawkins@chromium.org2011-10-081-5/+4
| | | | | | | | | | | | Previous version reverted; linux touch build now fixed. TBR=csilv BUG=none TEST=none Review URL: http://codereview.chromium.org/8205024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104660 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 104597 - base::Bind: Complete cleanup of history/.acolwell@chromium.org2011-10-071-4/+5
| | | | | | | | | | | | | | | | Breaks Linux Touch. BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8163005 TBR=jhawkins@chromium.org Review URL: http://codereview.chromium.org/8207012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104604 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Complete cleanup of history/.jhawkins@chromium.org2011-10-071-5/+4
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8163005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104597 0039d316-1c4b-4281-b951-d872f2087c98
* gcc 4.6 warnings cleanuppph34r@gmail.com2011-09-301-4/+0
| | | | | | | | | | BUG=87490 TEST=compile with gcc 4.6 Review URL: http://codereview.chromium.org/8050008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103513 0039d316-1c4b-4281-b951-d872f2087c98