| Index: components/mus/ids.h
|
| diff --git a/components/view_manager/ids.h b/components/mus/ids.h
|
| similarity index 77%
|
| rename from components/view_manager/ids.h
|
| rename to components/mus/ids.h
|
| index 54fda01d19f585241255087b3ae07c37cf5c9498..aac77129f068f987f43cccaf83eaff8e2918026a 100644
|
| --- a/components/view_manager/ids.h
|
| +++ b/components/mus/ids.h
|
| @@ -2,11 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef COMPONENTS_VIEW_MANAGER_IDS_H_
|
| -#define COMPONENTS_VIEW_MANAGER_IDS_H_
|
| +#ifndef COMPONENTS_MUS_IDS_H_
|
| +#define COMPONENTS_MUS_IDS_H_
|
|
|
| -#include "components/view_manager/public/cpp/types.h"
|
| -#include "components/view_manager/public/cpp/util.h"
|
| +#include "components/mus/public/cpp/types.h"
|
| +#include "components/mus/public/cpp/util.h"
|
|
|
| namespace view_manager {
|
|
|
| @@ -22,13 +22,10 @@ struct ViewId {
|
| ViewId() : connection_id(0), view_id(0) {}
|
|
|
| bool operator==(const ViewId& other) const {
|
| - return other.connection_id == connection_id &&
|
| - other.view_id == view_id;
|
| + return other.connection_id == connection_id && other.view_id == view_id;
|
| }
|
|
|
| - bool operator!=(const ViewId& other) const {
|
| - return !(*this == other);
|
| - }
|
| + bool operator!=(const ViewId& other) const { return !(*this == other); }
|
|
|
| mojo::ConnectionSpecificId connection_id;
|
| mojo::ConnectionSpecificId view_id;
|
| @@ -55,4 +52,4 @@ inline ViewId RootViewId(uint16_t index) {
|
|
|
| } // namespace view_manager
|
|
|
| -#endif // COMPONENTS_VIEW_MANAGER_IDS_H_
|
| +#endif // COMPONENTS_MUS_IDS_H_
|
|
|