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

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

Issue 10689154: Remove #pragma once from chrome/browser/sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_INTEGRATION_SESSIONS_HELPER_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_SESSIONS_HELPER_H_
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SESSIONS_HELPER_H_ 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SESSIONS_HELPER_H_
7 #pragma once
8 7
9 #include <algorithm> 8 #include <algorithm>
10 #include <vector> 9 #include <vector>
11 10
12 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
13 #include "chrome/browser/sessions/session_types.h" 12 #include "chrome/browser/sessions/session_types.h"
14 #include "chrome/browser/sync/glue/synced_session.h" 13 #include "chrome/browser/sync/glue/synced_session.h"
15 #include "chrome/browser/sync/test/integration/sync_test.h" 14 #include "chrome/browser/sync/test/integration/sync_test.h"
16 #include "sync/syncable/nigori_util.h" 15 #include "sync/syncable/nigori_util.h"
17 16
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 115
117 // Deletes the foreign session with tag |session_tag| from the profile specified 116 // Deletes the foreign session with tag |session_tag| from the profile specified
118 // by |index|. This will affect all synced clients. 117 // by |index|. This will affect all synced clients.
119 // Note: We pass the session_tag in by value to ensure it's not a reference 118 // Note: We pass the session_tag in by value to ensure it's not a reference
120 // to the session tag within the SyncedSession we plan to delete. 119 // to the session tag within the SyncedSession we plan to delete.
121 void DeleteForeignSession(int index, std::string session_tag); 120 void DeleteForeignSession(int index, std::string session_tag);
122 121
123 } // namespace sessions_helper 122 } // namespace sessions_helper
124 123
125 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SESSIONS_HELPER_H_ 124 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SESSIONS_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/search_engines_helper.h ('k') | chrome/browser/sync/test/integration/sync_app_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698