New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 640599 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
hobby only
Closed: Sep 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

ScopedTempDir::path() should warn if not valid

Project Member Reported by vabr@chromium.org, Aug 24 2016

Issue description

The following usage of ScopedTempDir is wrong:

{
  base::ScopedTempDir temp_dir;
  base::FilePath path = temp_dir.path().AppendASCII("test.db");
  // Write to |path|.
}

It needs to create the temp dir first:
{
  base::ScopedTempDir temp_dir;
  ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
  base::FilePath path = temp_dir.path().AppendASCII("test.db");
  // Write to |path|.
}

However, the first version of the code will compile, will not emit any warnings (even in debug mode), and will likely work on most configurations, because ScopedTempDir::path() will return the empty path, which is likely valid.

In fact, when I did this mistake in https://codereview.chromium.org/2265103002/#ps20001, I almost landed the change, be it not for iOS simlator (all other platforms and even iOS device were fine with it).

I feel we should warn the programmer if they hold the scoped dir wrong.
 

Comment 1 by vabr@chromium.org, Aug 24 2016

A suggestion in https://codereview.chromium.org/2275553005/.
Project Member

Comment 3 by bugdroid1@chromium.org, Sep 8 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/411f4fc60df3a256dd2d15ab39c540228ed66e7f

commit 411f4fc60df3a256dd2d15ab39c540228ed66e7f
Author: vabr <vabr@chromium.org>
Date: Thu Sep 08 09:26:27 2016

//base: Make ScopedTempDir::path() a GetPath() with a DCHECK

This CL changes the inline ScopedTempDir::path() to an out-of-line
GetPath() and enhances it with a DCHECK against the directory not
having been created yet.

FAQ

Q: Why GetPath?
A: Because of the added DCHECK in the path accessor, which needs
   #include "base/logging.h", there were two alternatives:
    (A) Keep the inline path() and #include "base/logging.h" in the header.
    (B) Change the inline path() to an out-of-line GetPath and implement it
        in the .cc file.

   (A) would affect compile-time, (B) affects run-time of the tests. I made no
   measuring, but obtaining the path is usually a one-off step in a test, so an
   unlikely hotspot. Therefore the trade-off seems much better for (B).

Q: Why deprecating path() instead of deleting it?
A: Due to the big amount of callsites (almost 600 files in the whole codebase),
   this change is rolled out in phases. This CL changes //base. After all of the
   codebase is converted, the deprecated path() will be deleted.

R=danakj@chromium.org
BUG= 640599 

Review-Url: https://codereview.chromium.org/2275553005
Cr-Commit-Position: refs/heads/master@{#417241}

[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/debug/activity_tracker_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/dir_reader_posix_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/file_locking_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/file_path_watcher_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/file_proxy_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/file_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/file_util_proxy_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/file_util_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/important_file_writer_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/scoped_temp_dir.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/scoped_temp_dir.h
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/scoped_temp_dir_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/json/json_value_serializer_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/mac/mac_util_unittest.mm
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/metrics/persistent_histogram_allocator_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/metrics/persistent_memory_allocator_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/path_service_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/process/process_metrics_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/test/launcher/test_launcher_ios.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/test/launcher/unit_test_launcher.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/test/scoped_path_override.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/win/event_trace_consumer_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/win/event_trace_controller_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/win/shortcut_unittest.cc

Project Member

Comment 4 by bugdroid1@chromium.org, Sep 8 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9142fe20179ba3b8efcc59138aa9e5ddd7aea449

commit 9142fe20179ba3b8efcc59138aa9e5ddd7aea449
Author: vabr <vabr@chromium.org>
Date: Thu Sep 08 13:19:22 2016

extensions: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

R=finnur@chromium.org
TBR=dgozman@chromium.org
BUG= 640599 

Review-Url: https://codereview.chromium.org/2314363002
Cr-Commit-Position: refs/heads/master@{#417268}

[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/devtools/devtools_sanity_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/activity_log/activity_database_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/activity_log/database_string_table_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/commands/command_service_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/declarative_content/request_content_script_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/declarative_content/set_icon_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/developer_private/developer_private_api_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/file_handlers/mime_util_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/file_system/file_system_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/i18n/i18n_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/image_writer_private/operation.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/image_writer_private/test_utils.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/management/management_api_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/media_galleries/media_galleries_watch_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/messaging/native_messaging_host_manifest_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/messaging/native_messaging_test_util.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/storage/policy_value_store_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/storage/settings_sync_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/streams_private/streams_private_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/sync_file_system/sync_file_system_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/app_background_page_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/browsertest_util_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/content_capabilities_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/content_script_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/convert_user_script.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/convert_user_script_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/convert_web_app.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/convert_web_app_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/crx_installer_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_action_runner_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_creator.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_creator_filter_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_disabled_ui_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_garbage_collector_chromeos_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_gcm_app_handler_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_keybinding_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_loading_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_messages_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_service_sync_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_service_test_base.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_service_test_with_install.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_service_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_user_script_loader_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/fetch_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/pack_extension_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/process_manager_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/service_worker_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/startup_helper.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/test_extension_dir.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/test_extension_dir.h
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/test_extension_prefs.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/test_extension_prefs.h
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/updater/local_extension_cache_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/wake_event_page_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/webstore_installer_test.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/site_details_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/ui/extensions/extension_message_bubble_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/ui/location_bar/location_bar_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/ui/toolbar/toolbar_actions_model_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/common/extensions/chrome_manifest_url_handlers_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/api/printer_provider/printer_provider_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/api/runtime/runtime_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/api/storage/storage_frontend_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/computed_hashes_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/sandboxed_unpacker.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/sandboxed_unpacker_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/updater/update_install_shim.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/updater/update_service_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/value_store/leveldb_scoped_database_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/value_store/leveldb_value_store_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/value_store/value_store_frontend_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/value_store/value_store_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/common/extension_l10n_util_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/common/extension_resource_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/common/file_util.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/common/file_util_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/utility/unpacker_unittest.cc

Project Member

Comment 5 by bugdroid1@chromium.org, Sep 8 2016

Labels: merge-merged-2854
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/411f4fc60df3a256dd2d15ab39c540228ed66e7f

commit 411f4fc60df3a256dd2d15ab39c540228ed66e7f
Author: vabr <vabr@chromium.org>
Date: Thu Sep 08 09:26:27 2016

//base: Make ScopedTempDir::path() a GetPath() with a DCHECK

This CL changes the inline ScopedTempDir::path() to an out-of-line
GetPath() and enhances it with a DCHECK against the directory not
having been created yet.

FAQ

Q: Why GetPath?
A: Because of the added DCHECK in the path accessor, which needs
   #include "base/logging.h", there were two alternatives:
    (A) Keep the inline path() and #include "base/logging.h" in the header.
    (B) Change the inline path() to an out-of-line GetPath and implement it
        in the .cc file.

   (A) would affect compile-time, (B) affects run-time of the tests. I made no
   measuring, but obtaining the path is usually a one-off step in a test, so an
   unlikely hotspot. Therefore the trade-off seems much better for (B).

Q: Why deprecating path() instead of deleting it?
A: Due to the big amount of callsites (almost 600 files in the whole codebase),
   this change is rolled out in phases. This CL changes //base. After all of the
   codebase is converted, the deprecated path() will be deleted.

R=danakj@chromium.org
BUG= 640599 

Review-Url: https://codereview.chromium.org/2275553005
Cr-Commit-Position: refs/heads/master@{#417241}

[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/debug/activity_tracker_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/dir_reader_posix_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/file_locking_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/file_path_watcher_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/file_proxy_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/file_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/file_util_proxy_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/file_util_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/important_file_writer_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/scoped_temp_dir.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/scoped_temp_dir.h
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/files/scoped_temp_dir_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/json/json_value_serializer_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/mac/mac_util_unittest.mm
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/metrics/persistent_histogram_allocator_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/metrics/persistent_memory_allocator_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/path_service_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/process/process_metrics_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/test/launcher/test_launcher_ios.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/test/launcher/unit_test_launcher.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/test/scoped_path_override.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/win/event_trace_consumer_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/win/event_trace_controller_unittest.cc
[modify] https://crrev.com/411f4fc60df3a256dd2d15ab39c540228ed66e7f/base/win/shortcut_unittest.cc

Project Member

Comment 6 by bugdroid1@chromium.org, Sep 8 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9142fe20179ba3b8efcc59138aa9e5ddd7aea449

commit 9142fe20179ba3b8efcc59138aa9e5ddd7aea449
Author: vabr <vabr@chromium.org>
Date: Thu Sep 08 13:19:22 2016

extensions: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

R=finnur@chromium.org
TBR=dgozman@chromium.org
BUG= 640599 

Review-Url: https://codereview.chromium.org/2314363002
Cr-Commit-Position: refs/heads/master@{#417268}

[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/devtools/devtools_sanity_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/activity_log/activity_database_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/activity_log/database_string_table_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/commands/command_service_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/declarative_content/request_content_script_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/declarative_content/set_icon_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/developer_private/developer_private_api_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/file_handlers/mime_util_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/file_system/file_system_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/i18n/i18n_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/image_writer_private/operation.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/image_writer_private/test_utils.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/image_writer_private/write_from_url_operation.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/management/management_api_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/media_galleries/media_galleries_watch_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/messaging/native_messaging_host_manifest_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/messaging/native_messaging_test_util.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/storage/policy_value_store_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/storage/settings_sync_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/streams_private/streams_private_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/sync_file_system/sync_file_system_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/app_background_page_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/browsertest_util_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/content_capabilities_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/content_script_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/convert_user_script.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/convert_user_script_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/convert_web_app.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/convert_web_app_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/crx_installer_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_action_runner_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_creator.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_creator_filter_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_disabled_ui_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_garbage_collector_chromeos_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_gcm_app_handler_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_keybinding_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_loading_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_messages_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_service_sync_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_service_test_base.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_service_test_with_install.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_service_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/extension_user_script_loader_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/fetch_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/pack_extension_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/process_manager_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/service_worker_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/startup_helper.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/test_extension_dir.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/test_extension_dir.h
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/test_extension_prefs.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/test_extension_prefs.h
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/updater/local_extension_cache_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/wake_event_page_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/extensions/webstore_installer_test.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/site_details_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/ui/extensions/extension_message_bubble_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/ui/location_bar/location_bar_browsertest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/browser/ui/toolbar/toolbar_actions_model_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/chrome/common/extensions/chrome_manifest_url_handlers_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/api/printer_provider/printer_provider_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/api/runtime/runtime_apitest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/api/storage/storage_frontend_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/computed_hashes_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/sandboxed_unpacker.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/sandboxed_unpacker_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/updater/update_install_shim.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/updater/update_service_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/value_store/leveldb_scoped_database_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/value_store/leveldb_value_store_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/value_store/value_store_frontend_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/browser/value_store/value_store_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/common/extension_l10n_util_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/common/extension_resource_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/common/file_util.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/common/file_util_unittest.cc
[modify] https://crrev.com/9142fe20179ba3b8efcc59138aa9e5ddd7aea449/extensions/utility/unpacker_unittest.cc

Project Member

Comment 7 by bugdroid1@chromium.org, Sep 9 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b858232de98dae192ebb70a5a8630cc7e7b98e32

commit b858232de98dae192ebb70a5a8630cc7e7b98e32
Author: vabr <vabr@chromium.org>
Date: Fri Sep 09 08:05:37 2016

//[chrome/browser/]net: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

R=mmenke@chromium.org
BUG= 640599 

Review-Url: https://codereview.chromium.org/2319513003
Cr-Commit-Position: refs/heads/master@{#417533}

[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/chrome/browser/net/errorpage_browsertest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/chrome/browser/net/file_downloader_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/chrome/browser/net/quota_policy_channel_id_store_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/chrome/browser/net/sdch_browsertest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/base/directory_lister_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/base/elements_upload_data_stream_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/base/upload_file_element_reader_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/disk_cache/backend_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/disk_cache/cache_util_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/disk_cache/disk_cache_test_base.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/disk_cache/simple/simple_index_file_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/disk_cache/simple/simple_version_upgrade_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/extras/sqlite/sqlite_channel_id_store_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/extras/sqlite/sqlite_persistent_cookie_store_perftest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/extras/sqlite/sqlite_persistent_cookie_store_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/http/http_stream_parser_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/http/transport_security_persister_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/log/bounded_file_net_log_observer_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/log/write_to_file_net_log_observer_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/socket/unix_domain_client_socket_posix_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/socket/unix_domain_server_socket_posix_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/spdy/spdy_network_transaction_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/url_request/url_fetcher_impl_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/url_request/url_fetcher_response_writer_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/url_request/url_request_file_dir_job_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/url_request/url_request_file_job_unittest.cc
[modify] https://crrev.com/b858232de98dae192ebb70a5a8630cc7e7b98e32/net/url_request/url_request_unittest.cc

Project Member

Comment 8 by bugdroid1@chromium.org, Sep 13 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/39acefd3124a956040226eea5e4c5084e64b8f01

commit 39acefd3124a956040226eea5e4c5084e64b8f01
Author: vabr <vabr@chromium.org>
Date: Tue Sep 13 13:38:53 2016

//content: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

R=jochen@chromium.org,nhiroki@chromium.org
BUG= 640599 

Review-Url: https://codereview.chromium.org/2316043002
Cr-Commit-Position: refs/heads/master@{#418229}

[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/appcache/appcache_database_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/appcache/appcache_disk_cache_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/appcache/appcache_storage_impl_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/appcache/chrome_appcache_service_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/blob_storage/blob_url_request_job_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/cache_storage/cache_storage_cache_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/cache_storage/cache_storage_manager_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/cross_site_transfer_browsertest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/database_tracker_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/devtools/devtools_http_handler_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/dom_storage/dom_storage_area_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/dom_storage/dom_storage_context_impl_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/dom_storage/dom_storage_database_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/dom_storage/session_storage_database_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/download/base_file_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/download/download_browsertest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/download/drag_download_file_browsertest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/download/file_metadata_unittest_linux.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/download/mhtml_generation_browsertest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/download/save_package_browsertest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/download/save_package_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/copy_or_move_file_validator_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/dragged_file_util_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/file_system_context_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/file_system_dir_url_request_job_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/file_system_file_stream_reader_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/file_system_operation_impl_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/file_system_operation_impl_write_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/file_system_operation_runner_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/file_system_quota_client_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/file_system_url_request_job_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/file_system_usage_cache_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/file_writer_delegate_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/local_file_stream_reader_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/local_file_stream_writer_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/local_file_util_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/native_file_util_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/obfuscated_file_util_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/plugin_private_file_system_backend_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/recursive_operation_delegate_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/sandbox_directory_database_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/sandbox_file_system_backend_delegate_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/sandbox_file_system_backend_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/sandbox_isolated_origin_database_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/sandbox_origin_database_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/transient_file_util_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/gpu/shader_disk_cache_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/indexed_db/indexed_db_factory_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/indexed_db/indexed_db_quota_client_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/indexed_db/indexed_db_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/indexed_db/leveldb/leveldb_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/net/quota_policy_cookie_store_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/notifications/notification_database_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/notifications/platform_notification_context_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/quota/mock_quota_manager_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/quota/quota_backend_impl_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/quota/quota_database_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/quota/quota_manager_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/quota/quota_reservation_manager_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/quota/storage_monitor_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/renderer_host/pepper/quota_reservation_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/service_worker/service_worker_context_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/service_worker/service_worker_database_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/service_worker/service_worker_storage_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/browser/shareable_file_reference_unittest.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/public/test/async_file_test_helper.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/public/test/test_browser_context.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/public/test/test_launcher.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/shell/browser/layout_test/layout_test_browser_main.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/test/test_blink_web_unit_test_support.cc
[modify] https://crrev.com/39acefd3124a956040226eea5e4c5084e64b8f01/content/test/test_content_browser_client.cc

Project Member

Comment 9 by bugdroid1@chromium.org, Sep 13 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/96fd0c0feeb2745b724778f6de5f869276b7ef05

commit 96fd0c0feeb2745b724778f6de5f869276b7ef05
Author: vabr <vabr@chromium.org>
Date: Tue Sep 13 14:21:31 2016

//chrome/browser and //components A-E: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

TBR=jochen@chromium.org
R=asanka@chromium.org
BUG= 640599 

Review-Url: https://codereview.chromium.org/2317993003
Cr-Commit-Position: refs/heads/master@{#418237}

[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/android/history_report/delta_file_backend_leveldb_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/android/history_report/usage_reports_buffer_backend_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/android/preferences/important_sites_util_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/apps/app_browsertest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/apps/guest_view/web_view_browsertest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/bookmarks/bookmark_html_writer_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/browser_encoding_browsertest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/browsing_data/browsing_data_remover_browsertest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/chrome_process_singleton_win_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/chrome_service_worker_browsertest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/component_updater/sth_set_component_installer_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/component_updater/subresource_filter_component_installer_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/diagnostics/diagnostics_controller_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/download/chrome_download_manager_delegate_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/download/download_browsertest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/download/download_path_reservation_tracker_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/download/download_target_determiner_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/download/notification/download_notification_browsertest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/download/save_page_browsertest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/browser/engagement/site_engagement_service_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/chrome/common/component_flash_hint_file_linux_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/bookmarks/browser/bookmark_node_data_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/dom_distiller/standalone/content_extractor_browsertest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/change_list_loader_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/change_list_processor_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/chromeos/fake_file_system.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/chromeos/file_cache_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/directory_loader_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/drive_api_util_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/drive_uploader_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/file_system/operation_test_base.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/file_system/operation_test_base.h
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/file_system_core_util_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/file_system_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/file_write_watcher_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/job_scheduler_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/local_file_reader_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/remove_stale_cache_files_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/resource_metadata_storage_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/resource_metadata_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/search_metadata_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/service/fake_drive_service_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/drive/sync_client_unittest.cc
[modify] https://crrev.com/96fd0c0feeb2745b724778f6de5f869276b7ef05/components/exo/wayland/server_unittest.cc

Project Member

Comment 10 by bugdroid1@chromium.org, Sep 14 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0c237ae160c63e9870d588cfbc45c1709603b7a5

commit 0c237ae160c63e9870d588cfbc45c1709603b7a5
Author: vabr <vabr@chromium.org>
Date: Wed Sep 14 09:24:28 2016

//chrome/browser and //components F-L: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

BUG= 640599 

Review-Url: https://codereview.chromium.org/2317003002
Cr-Commit-Position: refs/heads/master@{#418517}

[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/chrome/browser/file_select_helper_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/chrome/browser/history/android/android_cache_database_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/chrome/browser/history/android/android_provider_backend_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/chrome/browser/history/android/urls_sql_handler_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/chrome/browser/history/android/visit_sql_handler_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/chrome/browser/history/redirect_browsertest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/chrome/browser/importer/edge_importer_browsertest_win.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/chrome/browser/importer/firefox_importer_browsertest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/chrome/browser/importer/firefox_profile_lock_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/chrome/browser/importer/ie_importer_browsertest_win.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/chrome/browser/lifetime/browser_close_manager_browsertest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/chrome/common/importer/firefox_importer_utils_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/components/filesystem/file_system_impl.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/components/gcm_driver/crypto/gcm_encryption_provider_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/components/gcm_driver/crypto/gcm_key_store_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/components/gcm_driver/gcm_client_impl_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/components/gcm_driver/gcm_driver_desktop_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/components/history/core/browser/expire_history_backend_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/components/history/core/browser/history_backend_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/components/history/core/browser/history_database_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/components/history/core/browser/history_querying_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/components/history/core/browser/history_service_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/components/history/core/browser/thumbnail_database_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/components/history/core/browser/top_sites_database_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/components/history/core/browser/top_sites_impl_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/components/history/core/browser/typed_url_syncable_service_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/components/history/core/browser/url_database_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/components/history/core/browser/visit_database_unittest.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/components/history/core/test/history_backend_db_base_test.cc
[modify] https://crrev.com/0c237ae160c63e9870d588cfbc45c1709603b7a5/components/leveldb_proto/proto_database_impl_unittest.cc

Project Member

Comment 11 by bugdroid1@chromium.org, Sep 14 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d271a620617b6e77af1c0346eea87ca9f4e9d34b

commit d271a620617b6e77af1c0346eea87ca9f4e9d34b
Author: vabr <vabr@chromium.org>
Date: Wed Sep 14 11:04:05 2016

//chrome/browser/chromeos: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

R=achuith@chromium.org
BUG= 640599 

Review-Url: https://codereview.chromium.org/2318023002
Cr-Commit-Position: refs/heads/master@{#418533}

[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/app_mode/kiosk_app_data.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/arc/arc_auth_service_browsertest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/arc/arc_auth_service_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/base/file_flusher_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/drive/download_handler_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/drive/file_system_util_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/extensions/default_app_order_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/extensions/external_cache_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/extensions/file_manager/file_manager_private_apitest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/external_metrics_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/file_system_provider/fileapi/provider_async_file_util_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/fileapi/external_file_url_request_job_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/login/saml/saml_browsertest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/login/users/user_manager_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/policy/device_local_account_browsertest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/policy/extension_cache_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/policy/user_policy_test_helper.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/component_updater/origin_trials_component_installer_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chrome/browser/extensions/external_provider_impl_chromeos_unittest.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chromeos/binder/test_service.cc
[modify] https://crrev.com/d271a620617b6e77af1c0346eea87ca9f4e9d34b/chromeos/binder/transaction_data_read_write_unittest.cc

Project Member

Comment 12 by bugdroid1@chromium.org, Sep 14 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f7079a223322703f4165d246b99a098d77df4928

commit f7079a223322703f4165d246b99a098d77df4928
Author: vabr <vabr@chromium.org>
Date: Wed Sep 14 11:22:39 2016

Change ScopedTempDir::path() to GetPath() in external_filesystem_apitest.cc

This CL also fixes what seems like a bug, where the original code used the
scoped temp dir path before initialization, which meant files were put in the
directory "" (presumably the current working directory).

TBR-ing achuith@, who approved this in
https://codereview.chromium.org/2318023002/ and suggested splitting off into a
separate CL.

TBR=achuith@chromium.org
BUG= 640599 

Review-Url: https://codereview.chromium.org/2338793004
Cr-Commit-Position: refs/heads/master@{#418535}

[modify] https://crrev.com/f7079a223322703f4165d246b99a098d77df4928/chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc

Project Member

Comment 13 by bugdroid1@chromium.org, Sep 14 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6b8cef6afc1219278f1fc13a40ea78a122b7961d

commit 6b8cef6afc1219278f1fc13a40ea78a122b7961d
Author: vabr <vabr@chromium.org>
Date: Wed Sep 14 12:10:53 2016

Autofill and password_manager: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

BUG= 640599 

Review-Url: https://codereview.chromium.org/2320653002
Cr-Commit-Position: refs/heads/master@{#418537}

[modify] https://crrev.com/6b8cef6afc1219278f1fc13a40ea78a122b7961d/chrome/browser/password_manager/password_store_mac_unittest.cc
[modify] https://crrev.com/6b8cef6afc1219278f1fc13a40ea78a122b7961d/chrome/browser/password_manager/password_store_proxy_mac_unittest.cc
[modify] https://crrev.com/6b8cef6afc1219278f1fc13a40ea78a122b7961d/chrome/browser/password_manager/password_store_win_unittest.cc
[modify] https://crrev.com/6b8cef6afc1219278f1fc13a40ea78a122b7961d/chrome/browser/password_manager/password_store_x_unittest.cc
[modify] https://crrev.com/6b8cef6afc1219278f1fc13a40ea78a122b7961d/chrome/browser/password_manager/simple_password_store_mac_unittest.cc
[modify] https://crrev.com/6b8cef6afc1219278f1fc13a40ea78a122b7961d/components/autofill/core/browser/personal_data_manager_unittest.cc
[modify] https://crrev.com/6b8cef6afc1219278f1fc13a40ea78a122b7961d/components/autofill/core/browser/webdata/autofill_table_unittest.cc
[modify] https://crrev.com/6b8cef6afc1219278f1fc13a40ea78a122b7961d/components/autofill/core/browser/webdata/web_data_service_unittest.cc
[modify] https://crrev.com/6b8cef6afc1219278f1fc13a40ea78a122b7961d/components/password_manager/core/browser/affiliation_database_unittest.cc
[modify] https://crrev.com/6b8cef6afc1219278f1fc13a40ea78a122b7961d/components/password_manager/core/browser/import/password_importer_unittest.cc
[modify] https://crrev.com/6b8cef6afc1219278f1fc13a40ea78a122b7961d/components/password_manager/core/browser/login_database_ios_unittest.cc
[modify] https://crrev.com/6b8cef6afc1219278f1fc13a40ea78a122b7961d/components/password_manager/core/browser/login_database_unittest.cc
[modify] https://crrev.com/6b8cef6afc1219278f1fc13a40ea78a122b7961d/components/password_manager/core/browser/password_store_default_unittest.cc
[modify] https://crrev.com/6b8cef6afc1219278f1fc13a40ea78a122b7961d/components/password_manager/core/browser/password_store_unittest.cc
[modify] https://crrev.com/6b8cef6afc1219278f1fc13a40ea78a122b7961d/components/password_manager/core/browser/statistics_table_unittest.cc

Project Member

Comment 14 by bugdroid1@chromium.org, Sep 15 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/eca5e5cf8a6d74f021953d804cabd8c4dd9c8b9b

commit eca5e5cf8a6d74f021953d804cabd8c4dd9c8b9b
Author: vabr <vabr@chromium.org>
Date: Thu Sep 15 07:29:59 2016

Change ScopedTempDir::path() to GetPath() in chrome/browser/chromeos/file_manager

This CL also changes TestVolume::CreateRootDirectory to handle that GetPath()
(unlike path()) cannot be called before initialising the ScopedTempDir. Because
CreateRootDirectory apparently can be called multiple times from
FakeTestVolume, it needs to handle that and not initialise the directory twice.
On the other hand, the directory cannot be initialised from anywhere else, so
this CL made this clear by adding a Boolean member root_initialized_ which is
updated and checked by CreateRootDirectory. Using the Boolean member, unlike
just handling the fact that the directory has been already initialised (this
information is still possible to retrieve via Take()+Set()), makes it clearer
that the assumption is the directory only being initialised where also
root_initialized_ is set.

R=achuith@chromium.org
BUG= 640599 

Review-Url: https://codereview.chromium.org/2345473002
Cr-Commit-Position: refs/heads/master@{#418797}

[modify] https://crrev.com/eca5e5cf8a6d74f021953d804cabd8c4dd9c8b9b/chrome/browser/chromeos/file_manager/file_manager_browsertest_base.cc
[modify] https://crrev.com/eca5e5cf8a6d74f021953d804cabd8c4dd9c8b9b/chrome/browser/chromeos/file_manager/file_watcher_unittest.cc
[modify] https://crrev.com/eca5e5cf8a6d74f021953d804cabd8c4dd9c8b9b/chrome/browser/chromeos/file_manager/fileapi_util_unittest.cc
[modify] https://crrev.com/eca5e5cf8a6d74f021953d804cabd8c4dd9c8b9b/chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc

Project Member

Comment 15 by bugdroid1@chromium.org, Sep 15 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6c5aae893b0dea189b18412f3795dba30d12f721

commit 6c5aae893b0dea189b18412f3795dba30d12f721
Author: vabr <vabr@chromium.org>
Date: Thu Sep 15 07:31:09 2016

c/browser, c/common, components M-N: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

This CL does two non-trivial changes in addition to the mechanical renaming and reformatting:
* In components/nacl/browser/pnacl_translation_cache_unittest.cc, and
* in chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc
the CL modifies the test code to keep track whether the ScopedTempDir was initialised and can vend the path, or whether it was not, and cannot be asked for the path. In both cases, before this CL, ScopedTempDir needed to trust the test code to not to store any files under the uninitialised path. After the CL, ScopedTempDir can assume that whenever it vends the path, files may be written under it, and the contract of not touching the uninitialised path stays limited to the test and the tested code.

BUG= 640599 
R=mseaborn@chromium.org, reillyg@chromium.org
TBR=rsesek@chromium.org, blundell@chromium.org, sergeyu@chromium.org

Review-Url: https://codereview.chromium.org/2318033002
Cr-Commit-Position: refs/heads/master@{#418798}

[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/browser/media/webrtc/tab_desktop_media_list_unittest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/browser/media/webrtc/webrtc_audio_quality_browsertest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/browser/media/webrtc/webrtc_log_uploader_unittest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/browser/media/webrtc/webrtc_log_util_unittest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/browser/media/webrtc/webrtc_rtp_dump_handler_unittest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/browser/media/webrtc/webrtc_rtp_dump_writer_unittest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/browser/media/webrtc/webrtc_video_quality_browsertest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/browser/media_galleries/gallery_watch_manager_unittest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac_unittest.mm
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/browser/media_galleries/media_file_system_registry_unittest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/browser/media_galleries/media_galleries_test_util.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/chrome/common/mac/app_mode_chrome_locator_browsertest.mm
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/components/metrics/file_metrics_provider_unittest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/components/metrics/serialization/serialization_utils_unittest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/components/nacl/browser/nacl_file_host_unittest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/components/nacl/browser/pnacl_host_unittest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/components/nacl/browser/pnacl_translation_cache_unittest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/components/net_log/net_log_file_writer_unittest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/components/ntp_snippets/ntp_snippets_database_unittest.cc
[modify] https://crrev.com/6c5aae893b0dea189b18412f3795dba30d12f721/components/ntp_snippets/ntp_snippets_service_unittest.cc

Project Member

Comment 16 by bugdroid1@chromium.org, Sep 15 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f

commit 8023d87a36c3eb4aacbf3e9ea427ecf9b572880f
Author: vabr <vabr@chromium.org>
Date: Thu Sep 15 08:12:22 2016

c/browser, c/common, components O-P: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

BUG= 640599 

Review-Url: https://codereview.chromium.org/2317123002
Cr-Commit-Position: refs/heads/master@{#418804}

[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/chrome/browser/platform_util_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/chrome/browser/policy/cloud/cloud_policy_browsertest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/chrome/browser/policy/policy_browsertest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/chrome/browser/policy/test/local_policy_test_server.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/chrome/browser/prefs/pref_functional_browsertest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/chrome/browser/prefs/profile_pref_store_manager_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/chrome/browser/printing/pdf_to_emf_converter.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/chrome/browser/printing/print_preview_pdf_generated_browsertest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/chrome/browser/printing/pwg_raster_converter.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/chrome/browser/process_singleton_browsertest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/chrome/browser/process_singleton_posix.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/chrome/browser/process_singleton_posix_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/chrome/browser/process_singleton_win_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/chrome/browser/profile_resetter/profile_resetter_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/chrome/browser/profiles/profile_browsertest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/chrome/browser/profiles/profile_manager_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/offline_pages/archive_manager_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/offline_pages/background/request_queue_store_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/offline_pages/offline_page_metadata_store_impl_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/offline_pages/offline_page_model_impl_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/omnibox/browser/history_quick_provider_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/omnibox/browser/history_url_provider_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/omnibox/browser/in_memory_url_index_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/omnibox/browser/shortcuts_backend_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/omnibox/browser/shortcuts_database_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/omnibox/browser/shortcuts_provider_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/ownership/owner_key_util_impl_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/policy/core/common/cloud/resource_cache_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/policy/core/common/config_dir_policy_loader_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/policy/core/common/policy_loader_win_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/precache/content/precache_manager_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/precache/core/precache_database_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/precache/core/precache_fetcher_unittest.cc
[modify] https://crrev.com/8023d87a36c3eb4aacbf3e9ea427ecf9b572880f/components/prefs/json_pref_store_unittest.cc

Project Member

Comment 17 by bugdroid1@chromium.org, Sep 15 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/781998cc3069522b90b25091ed1aff3a0300910c

commit 781998cc3069522b90b25091ed1aff3a0300910c
Author: vabr <vabr@chromium.org>
Date: Thu Sep 15 09:36:15 2016

sync and signin: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

BUG= 640599 

Review-Url: https://codereview.chromium.org/2317023003
Cr-Commit-Position: refs/heads/master@{#418813}

[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync/test/integration/sync_test.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.h
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/drive_backend/leveldb_wrapper_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/drive_backend/list_changes_task_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/drive_backend/metadata_database_index_on_disk_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/drive_backend/sync_worker_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/components/browser_sync/browser/abstract_profile_sync_service_test.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/components/browser_sync/browser/profile_sync_service_bookmark_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/components/signin/core/browser/test_signin_client.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/components/signin/core/browser/webdata/token_service_table_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/components/sync/core_impl/attachments/on_disk_attachment_store_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/components/sync/core_impl/sync_manager_impl_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/components/sync/driver/glue/sync_backend_host_impl_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/components/sync/syncable/directory_backing_store_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/components/sync/syncable/syncable_unittest.cc
[modify] https://crrev.com/781998cc3069522b90b25091ed1aff3a0300910c/components/sync/tools/sync_client.cc

Project Member

Comment 18 by bugdroid1@chromium.org, Sep 15 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8c498ea4cbdde91a9667486eebf1d9a7b65612d5

commit 8c498ea4cbdde91a9667486eebf1d9a7b65612d5
Author: vabr <vabr@chromium.org>
Date: Thu Sep 15 12:41:58 2016

c/browser, c/common, components S-W: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

BUG= 640599 

Review-Url: https://codereview.chromium.org/2321453002
Cr-Commit-Position: refs/heads/master@{#418843}

[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/safe_browsing/download_feedback_service_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/safe_browsing/download_feedback_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/safe_browsing/download_protection_service_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_mac_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/safe_browsing/incident_reporting/state_store_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/safe_browsing/signature_evaluator_mac_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/search_engines/template_url_service_test_util.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/shell_integration_linux.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/shell_integration_linux_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/shell_integration_win_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/ssl/ssl_browser_tests.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/themes/browser_theme_pack_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/themes/theme_service_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/ui/app_list/search/history_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/ui/ash/chrome_screenshot_grabber_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/ui/browser_browsertest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/ui/startup/session_crashed_infobar_delegate_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/ui/webui/policy_ui_browsertest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/ui/webui/print_preview/extension_printer_handler_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/web_applications/web_app_mac.mm
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/browser/web_applications/web_app_mac_unittest.mm
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/common/safe_browsing/binary_feature_extractor_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/chrome/common/service_process_util_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/safe_browsing_db/prefix_set_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/safe_browsing_db/v4_database_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/safe_browsing_db/v4_local_database_manager_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/safe_browsing_db/v4_store_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/search_engines/keyword_table_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/search_provider_logos/logo_cache_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/sessions/core/session_backend_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/storage_monitor/image_capture_device_manager_unittest.mm
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/storage_monitor/media_storage_util_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/storage_monitor/storage_monitor_chromeos_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/storage_monitor/storage_monitor_linux_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/storage_monitor/storage_monitor_mac_unittest.mm
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/storage_monitor/test_volume_mount_watcher_win.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/subresource_filter/content/browser/content_ruleset_distributor_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/subresource_filter/core/browser/ruleset_service.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/subresource_filter/core/browser/ruleset_service_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/subresource_filter/core/common/test_ruleset_creator.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/tracing/browser/trace_config_file_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/update_client/component_patcher_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/upload_list/upload_list_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/url_formatter/url_fixer_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/visitedlink/test/visitedlink_unittest.cc
[modify] https://crrev.com/8c498ea4cbdde91a9667486eebf1d9a7b65612d5/components/webdata/common/web_database_migration_unittest.cc

Project Member

Comment 19 by bugdroid1@chromium.org, Sep 15 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/295d45a0b6618b488ca5690d66c7982198842054

commit 295d45a0b6618b488ca5690d66c7982198842054
Author: vabr <vabr@chromium.org>
Date: Thu Sep 15 13:01:04 2016

//chrome misc: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

BUG= 640599 
TBR=gab@chromium.org, mattm@chromium.org, haven@chromium.org, phajdan.jr@chromium.org, gene@chromium.org, reillyg@chromium.org

Review-Url: https://codereview.chromium.org/2321573002
Cr-Commit-Position: refs/heads/master@{#418848}

[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/installer/mini_installer/decompress_test.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/installer/setup/archive_patch_helper_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/installer/setup/install_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/installer/setup/setup_util_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/installer/util/conditional_work_item_list_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/installer/util/copy_tree_work_item_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/installer/util/create_dir_work_item_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/installer/util/delete_old_versions_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/installer/util/delete_tree_work_item_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/installer/util/duplicate_tree_detector_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/installer/util/install_util_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/installer/util/installer_state_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/installer/util/logging_installer_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/installer/util/lzma_file_allocator_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/installer/util/lzma_util_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/installer/util/move_tree_work_item_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/installer/util/self_cleaning_temp_dir_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/installer/util/shell_util_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/service/cloud_print/connector_settings_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/service/service_process_prefs_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/service/service_utility_process_host.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/test/base/in_process_browser_test.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/test/base/testing_profile.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/test/base/testing_profile_manager.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/test/base/ui_test_utils.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/test/chromedriver/chrome_launcher.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/test/chromedriver/chrome_launcher_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/test/chromedriver/session_commands.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/test/chromedriver/util.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/test/chromedriver/util_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/test/logging/win/test_log_collector.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/test/ppapi/ppapi_filechooser_browsertest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/utility/image_writer/image_writer_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/utility/importer/edge_database_reader_unittest_win.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/utility/importer/firefox_importer_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/utility/importer/safari_importer_unittest.mm
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/utility/media_galleries/picasa_album_table_reader_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/utility/media_galleries/pmp_column_reader_unittest.cc
[modify] https://crrev.com/295d45a0b6618b488ca5690d66c7982198842054/chrome/utility/safe_browsing/mac/read_stream_unittest.cc

Project Member

Comment 20 by bugdroid1@chromium.org, Sep 15 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/16e5f602ab9d2b89473daf8a85c28fe448528895

commit 16e5f602ab9d2b89473daf8a85c28fe448528895
Author: vabr <vabr@chromium.org>
Date: Thu Sep 15 18:14:00 2016

misc files A-P: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

BUG= 640599 
TBR=rsleevi@chromium.org, alexclarke@chromium.org, vitalybuka@chromium.org, nyquist@chromium.org, boliu@chromium.org, benwells@chromium.org, sdefresne@chromium.org, rogerta@chromium.org, rockot@chromium.org, alokp@chromium.org

Review-Url: https://codereview.chromium.org/2322573002
Cr-Commit-Position: refs/heads/master@{#418904}

[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/android_webview/browser/aw_form_database_service_unittest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/apps/app_restore_service_browsertest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/blimp/engine/app/blimp_engine_config_unittest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/chromecast/app/linux/cast_crash_reporter_client_unittest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/chromecast/base/error_codes_unittest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/chromecast/crash/linux/dummy_minidump_generator_unittest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/chromecast/crash/linux/minidump_uploader_unittest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/chromecast/crash/linux/minidump_writer_unittest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/chromecast/crash/linux/synchronized_minidump_manager_unittest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/crypto/scoped_test_nss_chromeos_user.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/crypto/scoped_test_nss_db.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/google_apis/drive/base_requests_server_unittest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/google_apis/drive/drive_api_requests_unittest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/google_apis/gcm/engine/gcm_store_impl_unittest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/google_apis/gcm/engine/mcs_client_unittest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/headless/lib/headless_browser_context_browsertest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/ios/chrome/browser/browser_state/test_chrome_browser_state.mm
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/ipc/attachment_broker_mac_unittest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/ipc/attachment_broker_privileged_win_unittest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/ipc/ipc_channel_mojo_unittest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/mojo/edk/embedder/platform_channel_pair_posix_unittest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/mojo/edk/system/multiprocess_message_pipe_unittest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/mojo/edk/system/platform_handle_dispatcher_unittest.cc
[modify] https://crrev.com/16e5f602ab9d2b89473daf8a85c28fe448528895/printing/emf_win_unittest.cc

Project Member

Comment 21 by bugdroid1@chromium.org, Sep 15 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6366cd9b50e811aa474c1a3a1910f2d0c1d15c06

commit 6366cd9b50e811aa474c1a3a1910f2d0c1d15c06
Author: vabr <vabr@chromium.org>
Date: Thu Sep 15 19:37:28 2016

Last files: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

Most of the callsites have been converted, with only
https://codereview.chromium.org/2317123003/ remaining as the last big chunk,
but in the meantime new uses of path() crept in.

BUG= 640599 
TBR=danakj@chromium.org, petewil@chromium.org, siggi@chromium.org,

Review-Url: https://codereview.chromium.org/2347673002
Cr-Commit-Position: refs/heads/master@{#418932}

[modify] https://crrev.com/6366cd9b50e811aa474c1a3a1910f2d0c1d15c06/base/win/shortcut_unittest.cc
[modify] https://crrev.com/6366cd9b50e811aa474c1a3a1910f2d0c1d15c06/components/browser_watcher/postmortem_minidump_writer_win_unittest.cc
[modify] https://crrev.com/6366cd9b50e811aa474c1a3a1910f2d0c1d15c06/components/offline_pages/offline_page_metadata_store_impl_unittest.cc

Project Member

Comment 22 by bugdroid1@chromium.org, Sep 28 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a98198273f744d4e045e759734bbaa69962fa94d

commit a98198273f744d4e045e759734bbaa69962fa94d
Author: vabr <vabr@chromium.org>
Date: Wed Sep 28 08:44:50 2016

misc files R-U: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

BUG= 640599 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng

Review-Url: https://codereview.chromium.org/2317123003
Cr-Commit-Position: refs/heads/master@{#421483}

[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/remoting/host/host_config_unittest.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/remoting/host/linux/audio_pipe_reader_unittest.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/remoting/host/linux/certificate_watcher_unittest.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/remoting/host/security_key/security_key_auth_handler_posix_unittest.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/rlz/lib/rlz_lib_test.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/rlz/test/rlz_test_helpers.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/rlz/test/rlz_unittest_main.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/sandbox/win/src/address_sanitizer_test.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/sandbox/win/src/handle_inheritance_test.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/sandbox/win/src/process_mitigations_test.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/sql/test/sql_test_base.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/third_party/leveldatabase/env_chromium_unittest.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/third_party/zlib/google/zip_reader_unittest.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/third_party/zlib/google/zip_unittest.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/tools/gn/exec_process_unittest.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/tools/gn/filesystem_utils_unittest.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/tools/gn/function_write_file_unittest.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/ui/app_list/search/history_data_store_unittest.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/ui/base/resource/data_pack_unittest.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/ui/base/resource/resource_bundle_unittest.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/ui/gfx/font_render_params_linux_unittest.cc
[modify] https://crrev.com/a98198273f744d4e045e759734bbaa69962fa94d/ui/gfx/icon_util_unittest.cc

Project Member

Comment 23 by bugdroid1@chromium.org, Sep 30 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5d919d6e4866aa240c11d21b917f2ac8ea5d5eb8

commit 5d919d6e4866aa240c11d21b917f2ac8ea5d5eb8
Author: vabr <vabr@chromium.org>
Date: Fri Sep 30 08:55:36 2016

installer and some misc files: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

BUG= 640599 

Review-Url: https://codereview.chromium.org/2379543002
Cr-Commit-Position: refs/heads/master@{#422068}

[modify] https://crrev.com/5d919d6e4866aa240c11d21b917f2ac8ea5d5eb8/chrome/installer/setup/install_unittest.cc
[modify] https://crrev.com/5d919d6e4866aa240c11d21b917f2ac8ea5d5eb8/chrome/installer/setup/setup_main.cc
[modify] https://crrev.com/5d919d6e4866aa240c11d21b917f2ac8ea5d5eb8/chrome/installer/setup/setup_singleton_unittest.cc
[modify] https://crrev.com/5d919d6e4866aa240c11d21b917f2ac8ea5d5eb8/chrome/installer/util/copy_tree_work_item.cc
[modify] https://crrev.com/5d919d6e4866aa240c11d21b917f2ac8ea5d5eb8/chrome/installer/util/copy_tree_work_item.h
[modify] https://crrev.com/5d919d6e4866aa240c11d21b917f2ac8ea5d5eb8/chrome/installer/util/copy_tree_work_item_unittest.cc
[modify] https://crrev.com/5d919d6e4866aa240c11d21b917f2ac8ea5d5eb8/chrome/installer/util/delete_tree_work_item.cc
[modify] https://crrev.com/5d919d6e4866aa240c11d21b917f2ac8ea5d5eb8/chrome/installer/util/delete_tree_work_item.h
[modify] https://crrev.com/5d919d6e4866aa240c11d21b917f2ac8ea5d5eb8/chrome/installer/util/move_tree_work_item.cc
[modify] https://crrev.com/5d919d6e4866aa240c11d21b917f2ac8ea5d5eb8/chrome/installer/util/shell_util_unittest.cc
[modify] https://crrev.com/5d919d6e4866aa240c11d21b917f2ac8ea5d5eb8/components/browser_watcher/postmortem_report_collector_unittest.cc
[modify] https://crrev.com/5d919d6e4866aa240c11d21b917f2ac8ea5d5eb8/components/prefs/json_pref_store_unittest.cc

Project Member

Comment 25 by bugdroid1@chromium.org, Sep 30 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/de15d7ce181a2066164aee958071cd19479cadcc

commit de15d7ce181a2066164aee958071cd19479cadcc
Author: vabr <vabr@chromium.org>
Date: Fri Sep 30 12:48:45 2016

misc files: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

BUG= 640599 
TBR=reillyg@chromium.org

Review-Url: https://codereview.chromium.org/2384633004
Cr-Commit-Position: refs/heads/master@{#422090}

[modify] https://crrev.com/de15d7ce181a2066164aee958071cd19479cadcc/chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc

Project Member

Comment 26 by bugdroid1@chromium.org, Sep 30 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/cdf7fe04bfb42f51e0b72dbec2051895da59d8a6

commit cdf7fe04bfb42f51e0b72dbec2051895da59d8a6
Author: vabr <vabr@chromium.org>
Date: Fri Sep 30 15:23:57 2016

chrome/browser/media_galleries/fileapi: Change ScopedTempDir::path() to GetPath()

path() is being deprecated, GetPath() has better checking against wrong use.

For more context, see https://codereview.chromium.org/2275553005/.

BUG= 640599 
TBR=kinuko@chromium.org

Review-Url: https://codereview.chromium.org/2385693002
Cr-Commit-Position: refs/heads/master@{#422117}

[modify] https://crrev.com/cdf7fe04bfb42f51e0b72dbec2051895da59d8a6/chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc

Project Member

Comment 27 by bugdroid1@chromium.org, Sep 30 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/79877046a7f287cbcf082bb4758081b2ab22075a

commit 79877046a7f287cbcf082bb4758081b2ab22075a
Author: vabr <vabr@chromium.org>
Date: Fri Sep 30 15:39:13 2016

Remove ScopedTempDir::path()

path() is deprecated and was replaced by GetPath().

For more context, see https://codereview.chromium.org/2275553005/.

BUG= 640599 
R=danakj@chromium.org

Review-Url: https://codereview.chromium.org/2321603002
Cr-Commit-Position: refs/heads/master@{#422121}

[modify] https://crrev.com/79877046a7f287cbcf082bb4758081b2ab22075a/base/files/scoped_temp_dir.h

Comment 28 by vabr@chromium.org, Sep 30 2016

Status: Fixed (was: Started)

Sign in to add a comment