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

Unified Diff: chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.h

Issue 2496973002: arc: Partially migrate mojo types (Closed)
Patch Set: Fixed nit Created 4 years, 1 month 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
Index: chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.h
diff --git a/chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.h b/chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.h
index 2e38ebac50ed1dedc70ab3c230ec95a8897bcc55..7709c78a45ececf174acc428791760b7b427c344 100644
--- a/chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.h
+++ b/chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.h
@@ -6,14 +6,14 @@
#define CHROME_BROWSER_CHROMEOS_ARC_DOWNLOADS_WATCHER_ARC_DOWNLOADS_WATCHER_SERVICE_H_
#include <memory>
+#include <string>
+#include <vector>
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "components/arc/arc_service.h"
#include "components/arc/common/file_system.mojom.h"
#include "components/arc/instance_holder.h"
-#include "mojo/public/cpp/bindings/array.h"
-#include "mojo/public/cpp/bindings/string.h"
namespace base {
class FilePath;
@@ -45,7 +45,7 @@ class ArcDownloadsWatcherService
void StartWatchingDownloads();
void StopWatchingDownloads();
- void OnDownloadsChanged(mojo::Array<mojo::String> paths);
+ void OnDownloadsChanged(const std::vector<std::string>& paths);
std::unique_ptr<DownloadsWatcher> watcher_;

Powered by Google App Engine
This is Rietveld 408576698