| Index: apps/app_shim/app_shim_host_mac_unittest.cc
|
| diff --git a/apps/app_shim/app_shim_host_mac_unittest.cc b/apps/app_shim/app_shim_host_mac_unittest.cc
|
| index 6b1d0498bcb1b65c4e727dfcd55bde3c78cb47b5..9c8b5af47a2ab345e62f2fd4f3630894aeb390da 100644
|
| --- a/apps/app_shim/app_shim_host_mac_unittest.cc
|
| +++ b/apps/app_shim/app_shim_host_mac_unittest.cc
|
| @@ -29,8 +29,9 @@ class TestingAppShimHost : public AppShimHost {
|
| }
|
|
|
| protected:
|
| - virtual Profile* FetchProfileForDirectory(const base::FilePath& profile_dir)
|
| - OVERRIDE;
|
| + virtual void LoadProfile(const base::FilePath& profile_dir,
|
| + base::Callback<void(Profile*)> callback) OVERRIDE;
|
| +
|
| virtual bool Send(IPC::Message* message) OVERRIDE;
|
|
|
| private:
|
| @@ -58,9 +59,9 @@ bool TestingAppShimHost::Send(IPC::Message* message) {
|
| return true;
|
| }
|
|
|
| -Profile* TestingAppShimHost::FetchProfileForDirectory(
|
| - const base::FilePath& profile_dir) {
|
| - return fails_profile_ ? NULL : test_profile_;
|
| +void TestingAppShimHost::LoadProfile(const base::FilePath& profile_dir,
|
| + base::Callback<void(Profile*)> callback) {
|
| + callback.Run(test_profile_);
|
| }
|
|
|
| const char kTestAppId[] = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
|
|
|