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

Unified Diff: services/ui/public/cpp/in_flight_change.h

Issue 2607063002: Remove mojo::Array. (Closed)
Patch Set: Created 3 years, 11 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
Index: services/ui/public/cpp/in_flight_change.h
diff --git a/services/ui/public/cpp/in_flight_change.h b/services/ui/public/cpp/in_flight_change.h
index 649aa542340fe297a7d760d563d8f9ba0b014692..ad14be96baf548764cfebde0dde6fb44d9dd7f9d 100644
--- a/services/ui/public/cpp/in_flight_change.h
+++ b/services/ui/public/cpp/in_flight_change.h
@@ -13,7 +13,6 @@
#include "base/macros.h"
#include "base/memory/ptr_util.h"
-#include "mojo/public/cpp/bindings/array.h"
#include "services/ui/public/cpp/window_observer.h"
#include "ui/gfx/geometry/rect.h"
@@ -232,9 +231,10 @@ class InFlightFocusChange : public InFlightWindowTreeClientChange {
class InFlightPropertyChange : public InFlightChange {
public:
- InFlightPropertyChange(Window* window,
- const std::string& property_name,
- const mojo::Array<uint8_t>& revert_value);
+ InFlightPropertyChange(
+ Window* window,
+ const std::string& property_name,
+ const base::Optional<std::vector<uint8_t>>& revert_value);
~InFlightPropertyChange() override;
// InFlightChange:
@@ -244,7 +244,7 @@ class InFlightPropertyChange : public InFlightChange {
private:
const std::string property_name_;
- mojo::Array<uint8_t> revert_value_;
+ base::Optional<std::vector<uint8_t>> revert_value_;
DISALLOW_COPY_AND_ASSIGN(InFlightPropertyChange);
};

Powered by Google App Engine
This is Rietveld 408576698