Chromium Code Reviews| Index: shell/application_manager/url_and_identity.h |
| diff --git a/shell/application_manager/url_and_identity.h b/shell/application_manager/url_and_identity.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4a8367e73d259f825229f15c7f4e0b5257738d63 |
| --- /dev/null |
| +++ b/shell/application_manager/url_and_identity.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef SHELL_APPLICATION_MANAGER_URL_AND_IDENTITY_H_ |
| +#define SHELL_APPLICATION_MANAGER_URL_AND_IDENTITY_H_ |
| + |
| +#include "url/gurl.h" |
| + |
| +namespace mojo { |
| +namespace shell { |
| + |
| +struct URLAndIdentity { |
|
DaveMoore
2015/03/06 17:32:08
Please find a better name for this. URLAndIdentity
qsr
2015/03/09 16:22:47
Changed to Identity, is that fine with you?
|
| + URLAndIdentity(const GURL& url, const std::string& identity); |
| + explicit URLAndIdentity(const GURL& url); |
| + bool operator<(const URLAndIdentity& other) const; |
| + |
| + const GURL url; |
| + const std::string identity; |
| +}; |
| + |
| +} // namespace shell |
| +} // namespace mojo |
| + |
| +#endif // SHELL_APPLICATION_MANAGER_URL_AND_IDENTITY_H_ |