OSDN Git Service

media: Update libchrome APIS to r456626.
authorJay Civelli <jcivelli@google.com>
Thu, 30 Mar 2017 17:59:21 +0000 (10:59 -0700)
committerJay Civelli <jcivelli@google.com>
Wed, 17 May 2017 23:53:59 +0000 (16:53 -0700)
The new libchrome has been ported from Chromium and some APIs
have changed. Make necessary changes at call sites.

Change-Id: I9bf5b491770efc3009ea2ff3afe9e6d2c1163206

brillo/audio/audioservice/test/audio_device_handler_test.cpp
brillo/audio/audioservice/test/audio_volume_handler_test.cpp

index d14faa0..560d94e 100644 (file)
@@ -41,7 +41,7 @@ class AudioDeviceHandlerTest : public testing::Test {
  public:
   void SetUp() override {
     EXPECT_TRUE(temp_dir_.CreateUniqueTempDir());
-    h2w_file_path_ = temp_dir_.path().Append("h2wstate");
+    h2w_file_path_ = temp_dir_.GetPath().Append("h2wstate");
   }
 
   void TearDown() override { handler_.Reset(); }
index 47ef236..2ab804a 100644 (file)
@@ -43,7 +43,7 @@ class AudioVolumeHandlerTest : public testing::Test {
  public:
   void SetUp() override {
     EXPECT_TRUE(temp_dir_.CreateUniqueTempDir());
-    volume_file_path_ = temp_dir_.path().Append("vol_file");
+    volume_file_path_ = temp_dir_.GetPath().Append("vol_file");
     handler_.SetVolumeFilePathForTesting(volume_file_path_);
   }