| OLD | NEW |
| 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_CORE_BASE_SESSION_SERVICE_DELEGATE_H_ | 5 #ifndef COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_DELEGATE_H_ |
| 6 #define COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_DELEGATE_H_ | 6 #define COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | |
| 9 | |
| 10 namespace base { | 8 namespace base { |
| 11 class SequencedWorkerPool; | 9 class SequencedWorkerPool; |
| 12 } | 10 } |
| 13 | 11 |
| 14 namespace sessions { | 12 namespace sessions { |
| 15 | 13 |
| 16 // The BaseSessionServiceDelegate decouples the BaseSessionService from | 14 // The BaseSessionServiceDelegate decouples the BaseSessionService from |
| 17 // chrome/content dependencies. | 15 // chrome/content dependencies. |
| 18 class BaseSessionServiceDelegate { | 16 class BaseSessionServiceDelegate { |
| 19 public: | 17 public: |
| (...skipping 13 matching lines...) Expand all Loading... |
| 33 // Called when commands were saved to disc. | 31 // Called when commands were saved to disc. |
| 34 virtual void OnSavedCommands() {} | 32 virtual void OnSavedCommands() {} |
| 35 | 33 |
| 36 protected: | 34 protected: |
| 37 virtual ~BaseSessionServiceDelegate() {} | 35 virtual ~BaseSessionServiceDelegate() {} |
| 38 }; | 36 }; |
| 39 | 37 |
| 40 } // namespace sessions | 38 } // namespace sessions |
| 41 | 39 |
| 42 #endif // COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_DELEGATE_H_ | 40 #endif // COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_DELEGATE_H_ |
| OLD | NEW |