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

Issue 7048007: Move scoped_temp_dir and scoped_native_library back from base/memory to base. (Closed)

Created:
9 years, 7 months ago by Nico
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Paweł Hajdan Jr., brettw-cc_chromium.org
Visibility:
Public.

Description

Move scoped_temp_dir and scoped_native_library back from base/memory to base. It looks like they got moved accidentally in http://codereview.chromium.org/6714032 BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86010

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : rebase #

Patch Set 4 : . #

Patch Set 5 : scriptfix #

Patch Set 6 : unknwn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -629 lines) Patch
M app/sql/connection_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M app/sql/statement_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M app/sql/transaction_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M base/base.gyp View 2 chunks +2 lines, -2 lines 0 comments Download
M base/base.gypi View 2 chunks +4 lines, -4 lines 0 comments Download
M base/file_util_unittest.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M base/files/file_path_watcher_browsertest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
D base/memory/scoped_native_library.h View 1 chunk +0 lines, -53 lines 0 comments Download
D base/memory/scoped_native_library.cc View 1 chunk +0 lines, -44 lines 0 comments Download
D base/memory/scoped_native_library_unittest.cc View 1 chunk +0 lines, -33 lines 0 comments Download
D base/memory/scoped_temp_dir.h View 1 chunk +0 lines, -59 lines 0 comments Download
D base/memory/scoped_temp_dir.cc View 1 chunk +0 lines, -84 lines 0 comments Download
D base/memory/scoped_temp_dir_unittest.cc View 1 chunk +0 lines, -110 lines 0 comments Download
M base/platform_file_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
A + base/scoped_native_library.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + base/scoped_native_library.cc View 1 1 chunk +1 line, -1 line 0 comments Download
A + base/scoped_native_library_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
A + base/scoped_temp_dir.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + base/scoped_temp_dir.cc View 1 1 chunk +1 line, -1 line 0 comments Download
A + base/scoped_temp_dir_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/aeropeek_manager.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/bookmarks/bookmark_html_writer_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/browser_encoding_uitest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/browser_main_win.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/owner_key_utils_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/owner_manager_unittest.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/ownership_service_unittest.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/signed_settings_temp_storage_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/signed_settings_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/base_file_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/download_browsertest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/download/download_file_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/save_package_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/save_page_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/convert_user_script.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/convert_user_script_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/convert_web_app.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/convert_web_app_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/crx_installer.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_browsertest.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_creator.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_menu_manager_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_prefs_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_service_unittest.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_updater.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_webstore_private_api.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/sandboxed_extension_unpacker.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/sandboxed_extension_unpacker_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/test_extension_prefs.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/user_script_master_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/expire_history_backend_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/history_querying_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/history_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/redirect_uitest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/history/starred_url_database_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/text_database_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/thumbnail_database_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/top_sites_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/url_database_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/visit_database_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/importer/firefox_profile_lock_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/importer/importer_unittest.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/net/sqlite_persistent_cookie_store_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/parsers/metadata_parser_filebase_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_default_unittest.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/password_store_win_unittest.cc View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/password_manager/password_store_x_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/cloud_policy_controller_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/config_dir_policy_provider_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/device_token_fetcher_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/user_policy_cache_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefs/pref_service_uitest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prerender/prerender_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/process_singleton.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/process_singleton_uitest.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/profiles/profile_manager_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/bloom_filter_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host_unittest.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_service_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/prefix_set_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/template_url_model_test_util.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sessions/session_backend_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sessions/session_service_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/shell_integration_linux.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/shell_integration_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/syncapi_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_session_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/syncable/directory_backing_store_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/syncable/syncable_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/util/user_settings_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/themes/browser_theme_pack_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/user_style_sheet_watcher_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/webdata/web_database_migration_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/extension_file_util.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/extension_file_util_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/extension_l10n_util_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/extension_resource_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/extension_unpacker.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/extension_unpacker_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/important_file_writer_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/json_pref_store_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/json_value_serializer_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/service_process_util_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/zip_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/mini_installer/decompress_test.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/setup/chrome_frame_quick_enable.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/setup/setup_main.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/installer/setup/setup_util_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/copy_tree_work_item.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/copy_tree_work_item_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/installer/util/create_dir_work_item_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/installer/util/delete_tree_work_item.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/delete_tree_work_item_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/duplicate_tree_detector_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/installer_state_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/lzma_util_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/move_tree_work_item.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/product_unittest.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/self_cleaning_temp_dir_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/shell_util_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/work_item_list_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/safe_browsing/scorer_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/service/service_utility_process_host.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/automation/automation_proxy_uitest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/automation/proxy_launcher.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/in_process_browser_test.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/out_of_proc_test_runner.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/sync/engine/test_directory_setter_upper.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/testing_profile.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/ui/ui_test.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/ui_test_utils.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/webdriver/session.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome_frame/test/dll_redirector_loading_test.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/appcache/chrome_appcache_service_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/in_process_webkit/dom_storage_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/in_process_webkit/indexed_db_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/gpu/gpu_info_collector_win.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M net/base/cert_database_nss_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M net/disk_cache/cache_util_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M printing/emf_win_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/host_key_pair_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/json_host_config_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/sort-headers.py View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M ui/base/resource/data_pack_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webkit/appcache/appcache_database_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webkit/blob/blob_url_request_job_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/blob/deletable_file_reference_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webkit/database/database_tracker_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_system_dir_url_request_job_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_system_directory_database_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/fileapi/file_system_operation_unittest.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/fileapi/file_system_operation_write_unittest.cc View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M webkit/fileapi/file_system_origin_database_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_system_path_manager_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_system_quota_client_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_system_url_request_job_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_system_usage_cache_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_writer_delegate_unittest.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/fileapi/local_file_system_file_util_unittest.cc View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M webkit/fileapi/obfuscated_file_system_file_util_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/quota_file_util_unittest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/fileapi/sandbox_mount_point_provider_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webkit/quota/quota_database_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webkit/quota/quota_manager_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webkit/support/simple_database_system.h View 1 1 chunk +1 line, -1 line 0 comments Download
M webkit/support/test_webkit_client.cc View 1 5 chunks +7 lines, -7 lines 0 comments Download
M webkit/tools/test_shell/simple_file_system.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/test_shell.h View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Nico
All the include file munging was done by tools/git/mass-rename.sh and tools/reorder-includes.py
9 years, 7 months ago (2011-05-19 19:07:10 UTC) #1
brettw
Rubber stamp LGTM
9 years, 7 months ago (2011-05-19 19:13:14 UTC) #2
levin
Seems like scoped_native_library is in keeping with the theme of base/memory (scoped_nsobject, scoped_open_process). However, scoped_temp_dir ...
9 years, 7 months ago (2011-05-19 19:15:14 UTC) #3
brettw
I don't think scoped_native_library belongs in memory. Maybe best would be base/files, but I'm also ...
9 years, 7 months ago (2011-05-19 19:16:16 UTC) #4
levin
On 2011/05/19 19:16:16, brettw wrote: > I don't think scoped_native_library belongs in memory. Maybe best ...
9 years, 7 months ago (2011-05-19 19:21:51 UTC) #5
Nico
On Thu, May 19, 2011 at 12:15 PM, <levin@chromium.org> wrote: > Seems like scoped_native_library is ...
9 years, 7 months ago (2011-05-19 19:22:40 UTC) #6
commit-bot: I haz the power
Can't process patch for file base/scoped_native_library.cc. A +
9 years, 7 months ago (2011-05-19 19:26:12 UTC) #7
levin
On 2011/05/19 19:22:40, Nico wrote: > On Thu, May 19, 2011 at 12:15 PM, <mailto:levin@chromium.org> ...
9 years, 7 months ago (2011-05-19 20:12:34 UTC) #8
Nico
On Thu, May 19, 2011 at 1:12 PM, <levin@chromium.org> wrote: > On 2011/05/19 19:22:40, Nico ...
9 years, 7 months ago (2011-05-19 20:16:43 UTC) #9
levin
9 years, 7 months ago (2011-05-19 20:18:44 UTC) #10
On 2011/05/19 20:16:43, Nico wrote:
> 
>  I disagree that library loading /
> unloading wouldn't be done explicitly in a garbage collected language:
> In Java, you're e.g. not supposed to rely on finalizers for freeing
> things like files, large bitmaps backed by native memory, etc. All
> these have explicit close() / recycle() etc calls. A loaded library is
> likewise more heavyweight than normal memory handling.
> 
Sounds reasonable. Thanks for the discussion. Sorry for putting this in a bad
place :)

Powered by Google App Engine
This is Rietveld 408576698