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

Side by Side Diff: components/sessions/core/base_session_service_commands.h

Issue 1361613002: Move all core files in //components/sessions into core/ subdir (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 2 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 COMPONENTS_SESSIONS_BASE_SESSION_SERVICE_COMMANDS_H_ 5 #ifndef COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_COMMANDS_H_
6 #define COMPONENTS_SESSIONS_BASE_SESSION_SERVICE_COMMANDS_H_ 6 #define COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_COMMANDS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "components/sessions/session_id.h" 11 #include "components/sessions/core/session_id.h"
12 #include "components/sessions/sessions_export.h" 12 #include "components/sessions/core/sessions_export.h"
13 13
14 namespace sessions { 14 namespace sessions {
15 class SessionCommand; 15 class SessionCommand;
16 class SerializedNavigationEntry; 16 class SerializedNavigationEntry;
17 17
18 // These commands create and read common base commands for SessionService and 18 // These commands create and read common base commands for SessionService and
19 // PersistentTabRestoreService. 19 // PersistentTabRestoreService.
20 20
21 // Creates a SessionCommand that represents a navigation. 21 // Creates a SessionCommand that represents a navigation.
22 SESSIONS_EXPORT scoped_ptr<SessionCommand> CreateUpdateTabNavigationCommand( 22 SESSIONS_EXPORT scoped_ptr<SessionCommand> CreateUpdateTabNavigationCommand(
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 // Extracts a SessionCommand as previously created by 70 // Extracts a SessionCommand as previously created by
71 // CreateSetWindowAppNameCommand into the window id and application name. 71 // CreateSetWindowAppNameCommand into the window id and application name.
72 SESSIONS_EXPORT bool RestoreSetWindowAppNameCommand( 72 SESSIONS_EXPORT bool RestoreSetWindowAppNameCommand(
73 const SessionCommand& command, 73 const SessionCommand& command,
74 SessionID::id_type* window_id, 74 SessionID::id_type* window_id,
75 std::string* app_name); 75 std::string* app_name);
76 76
77 } // namespace sessions 77 } // namespace sessions
78 78
79 #endif // COMPONENTS_SESSIONS_BASE_SESSION_SERVICE_COMMANDS_H_ 79 #endif // COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_COMMANDS_H_
OLDNEW
« no previous file with comments | « components/sessions/core/base_session_service.cc ('k') | components/sessions/core/base_session_service_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698