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

Side by Side Diff: chrome/browser/sessions/base_session_service.h

Issue 10855075: Clean-up inline members of nested classes (chrome/) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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_SESSIONS_BASE_SESSION_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SESSIONS_BASE_SESSION_SERVICE_H_
6 #define CHROME_BROWSER_SESSIONS_BASE_SESSION_SERVICE_H_ 6 #define CHROME_BROWSER_SESSIONS_BASE_SESSION_SERVICE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 typedef base::Callback<void(Handle, 59 typedef base::Callback<void(Handle,
60 scoped_refptr<InternalGetCommandsRequest>)> 60 scoped_refptr<InternalGetCommandsRequest>)>
61 InternalGetCommandsCallback; 61 InternalGetCommandsCallback;
62 62
63 // Callback used when fetching the last session. The last session consists 63 // Callback used when fetching the last session. The last session consists
64 // of a vector of SessionCommands. 64 // of a vector of SessionCommands.
65 class InternalGetCommandsRequest : 65 class InternalGetCommandsRequest :
66 public CancelableRequest<InternalGetCommandsCallback> { 66 public CancelableRequest<InternalGetCommandsCallback> {
67 public: 67 public:
68 explicit InternalGetCommandsRequest(const CallbackType& callback) 68 explicit InternalGetCommandsRequest(const CallbackType& callback);
69 : CancelableRequest<InternalGetCommandsCallback>(callback) {
70 }
71 69
72 // The commands. The backend fills this in for us. 70 // The commands. The backend fills this in for us.
73 std::vector<SessionCommand*> commands; 71 std::vector<SessionCommand*> commands;
74 72
75 protected: 73 protected:
76 virtual ~InternalGetCommandsRequest(); 74 virtual ~InternalGetCommandsRequest();
77 75
78 private: 76 private:
79 DISALLOW_COPY_AND_ASSIGN(InternalGetCommandsRequest); 77 DISALLOW_COPY_AND_ASSIGN(InternalGetCommandsRequest);
80 }; 78 };
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 // over the commands. 203 // over the commands.
206 bool pending_reset_; 204 bool pending_reset_;
207 205
208 // The number of commands sent to the backend before doing a reset. 206 // The number of commands sent to the backend before doing a reset.
209 int commands_since_reset_; 207 int commands_since_reset_;
210 208
211 DISALLOW_COPY_AND_ASSIGN(BaseSessionService); 209 DISALLOW_COPY_AND_ASSIGN(BaseSessionService);
212 }; 210 };
213 211
214 #endif // CHROME_BROWSER_SESSIONS_BASE_SESSION_SERVICE_H_ 212 #endif // CHROME_BROWSER_SESSIONS_BASE_SESSION_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/sessions/base_session_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698