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

Side by Side Diff: chrome/browser/sync/test/integration/sessions_helper.h

Issue 7841007: Rename browser/sync/test/live_sync directory to browser/sync/test/integration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_TEST_LIVE_SYNC_SESSIONS_HELPER_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_SESSIONS_HELPER_H_
6 #define CHROME_BROWSER_SYNC_TEST_LIVE_SYNC_SESSIONS_HELPER_H_ 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SESSIONS_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "chrome/browser/sessions/session_types.h" 13 #include "chrome/browser/sessions/session_types.h"
14 #include "chrome/browser/sync/glue/synced_session.h" 14 #include "chrome/browser/sync/glue/synced_session.h"
15 #include "chrome/browser/sync/engine/nigori_util.h" 15 #include "chrome/browser/sync/engine/nigori_util.h"
16 #include "chrome/browser/sync/test/live_sync/live_sync_test.h" 16 #include "chrome/browser/sync/test/integration/sync_test.h"
17 17
18 class GURL; 18 class GURL;
19 19
20 typedef std::vector<const browser_sync::SyncedSession*> SyncedSessionVector; 20 typedef std::vector<const browser_sync::SyncedSession*> SyncedSessionVector;
21 typedef std::vector<SessionWindow*> SessionWindowVector; 21 typedef std::vector<SessionWindow*> SessionWindowVector;
22 22
23 namespace sessions_helper { 23 namespace sessions_helper {
24 24
25 // Copies the local session windows of profile |index| to |local_windows|. 25 // Copies the local session windows of profile |index| to |local_windows|.
26 // Returns true if successful. 26 // Returns true if successful.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 // Check if the session model associator's knows that the current open tab 101 // Check if the session model associator's knows that the current open tab
102 // has this url. 102 // has this url.
103 bool ModelAssociatorHasTabWithUrl(int index, const GURL& url); 103 bool ModelAssociatorHasTabWithUrl(int index, const GURL& url);
104 104
105 // Stores a pointer to the local session for a given profile in |session|. 105 // Stores a pointer to the local session for a given profile in |session|.
106 // Returns true on success, false on failure. 106 // Returns true on success, false on failure.
107 bool GetLocalSession(int index, const browser_sync::SyncedSession** session); 107 bool GetLocalSession(int index, const browser_sync::SyncedSession** session);
108 108
109 } // namespace sessions_helper 109 } // namespace sessions_helper
110 110
111 #endif // CHROME_BROWSER_SYNC_TEST_LIVE_SYNC_SESSIONS_HELPER_H_ 111 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SESSIONS_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/preferences_helper.cc ('k') | chrome/browser/sync/test/integration/sessions_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698