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

Side by Side Diff: chrome/browser/sync/glue/synced_session.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_GLUE_SYNCED_SESSION_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_H_
7 #pragma once
8 7
9 #include <map> 8 #include <map>
10 #include <string> 9 #include <string>
11 10
12 #include "base/time.h" 11 #include "base/time.h"
13 #include "chrome/browser/sessions/session_id.h" 12 #include "chrome/browser/sessions/session_id.h"
14 #include "chrome/browser/sessions/session_types.h" 13 #include "chrome/browser/sessions/session_types.h"
15 14
16 namespace content { 15 namespace content {
17 class NavigationEntry; 16 class NavigationEntry;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // Note: chrome:// and file:// are not considered valid urls (for syncing). 102 // Note: chrome:// and file:// are not considered valid urls (for syncing).
104 bool ShouldSyncSessionTab(const SessionTab& tab); 103 bool ShouldSyncSessionTab(const SessionTab& tab);
105 104
106 // Checks whether the window has tabs to sync. If no tabs to sync, it returns 105 // Checks whether the window has tabs to sync. If no tabs to sync, it returns
107 // true, false otherwise. 106 // true, false otherwise.
108 bool SessionWindowHasNoTabsToSync(const SessionWindow& window); 107 bool SessionWindowHasNoTabsToSync(const SessionWindow& window);
109 108
110 } // namespace browser_sync 109 } // namespace browser_sync
111 110
112 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_H_ 111 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_registrar.h ('k') | chrome/browser/sync/glue/synced_session_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698