| Index: chrome/browser/ui/webui/ntp/foreign_session_handler.h
|
| diff --git a/chrome/browser/ui/webui/ntp/foreign_session_handler.h b/chrome/browser/ui/webui/ntp/foreign_session_handler.h
|
| index 4f823166882c5b656fd8b5454e1e12eaae4b1633..b57e8cf409d8ca49f60a87d0101d1d737a6f24c8 100644
|
| --- a/chrome/browser/ui/webui/ntp/foreign_session_handler.h
|
| +++ b/chrome/browser/ui/webui/ntp/foreign_session_handler.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 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.
|
|
|
| @@ -37,6 +37,9 @@ class ForeignSessionHandler : public content::WebUIMessageHandler,
|
| // Returns a pointer to the current session model associator or NULL.
|
| SessionModelAssociator* GetModelAssociator();
|
|
|
| + // Returns true if tab sync is enabled for this profile, otherwise false.
|
| + bool IsTabSyncEnabled();
|
| +
|
| // Determines which session is to be opened, and then calls
|
| // OpenForeignSession, to begin the process of opening a new browser window.
|
| // This is a javascript callback handler.
|
|
|