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

Unified Diff: chrome/browser/chromeos/arc/fileapi/arc_documents_provider_root_unittest.cc

Issue 2727113002: mediaview: Add a typemap for arc::mojom::ChangeType. (Closed)
Patch Set: Rebased to ToT. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/arc/fileapi/arc_documents_provider_root_unittest.cc
diff --git a/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_root_unittest.cc b/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_root_unittest.cc
index df9f467a297502cc77c426fed74d69de636d8d30..fe09ee9f0ab1b10ca4ca28d56fbf575a75e1956f 100644
--- a/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_root_unittest.cc
+++ b/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_root_unittest.cc
@@ -19,6 +19,7 @@
#include "components/arc/common/file_system.mojom.h"
#include "components/arc/test/fake_file_system_instance.h"
#include "content/public/test/test_browser_thread_bundle.h"
+#include "storage/browser/fileapi/watcher_manager.h"
#include "storage/common/fileapi/directory_entry.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
@@ -317,7 +318,7 @@ TEST_F(ArcDocumentsProviderRootTest, WatchChanged) {
EXPECT_EQ(0, num_called);
fake_file_system_.TriggerWatchers(kAuthority, kDirSpec.document_id,
- mojom::ChangeType::CHANGED);
+ storage::WatcherManager::CHANGED);
base::RunLoop().RunUntilIdle();
EXPECT_EQ(1, num_called);
@@ -359,7 +360,7 @@ TEST_F(ArcDocumentsProviderRootTest, WatchDeleted) {
EXPECT_EQ(0, num_called);
fake_file_system_.TriggerWatchers(kAuthority, kDirSpec.document_id,
- mojom::ChangeType::DELETED);
+ storage::WatcherManager::DELETED);
base::RunLoop().RunUntilIdle();
EXPECT_EQ(1, num_called);
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698