OLD | NEW |
| (Empty) |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef COMPONENTS_HANDOFF_HANDOFF_MANAGER_H_ | |
6 #define COMPONENTS_HANDOFF_HANDOFF_MANAGER_H_ | |
7 | |
8 #include <Foundation/Foundation.h> | |
9 | |
10 class GURL; | |
11 // Maintains all of the state relevant to the Handoff feature. Allows Chrome to | |
12 // hand off the current active URL to other devices. | |
13 @interface HandoffManager : NSObject | |
14 | |
15 // The active URL is defined as the URL of the most recently accessed tab. This | |
16 // method should be called any time the active URL might have changed. This | |
17 // method is idempotent. | |
18 - (void)updateActiveURL:(const GURL&)url; | |
19 | |
20 @end | |
21 | |
22 #endif // COMPONENTS_HANDOFF_HANDOFF_MANAGER_H_ | |
OLD | NEW |