| OLD | NEW |
| 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_API_WEBDATA_WEB_DATA_RESULTS_H_ | 5 #ifndef COMPONENTS_WEBDATA_COMMON_WEB_DATA_RESULTS_H_ |
| 6 #define CHROME_BROWSER_API_WEBDATA_WEB_DATA_RESULTS_H_ | 6 #define COMPONENTS_WEBDATA_COMMON_WEB_DATA_RESULTS_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 | 10 |
| 11 class WDTypedResult; | 11 class WDTypedResult; |
| 12 | 12 |
| 13 // | 13 // |
| 14 // Result types for WebDataService. | 14 // Result types for WebDataService. |
| 15 // | 15 // |
| 16 typedef enum { | 16 typedef enum { |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 T* GetValue() const { | 124 T* GetValue() const { |
| 125 return &value_; | 125 return &value_; |
| 126 } | 126 } |
| 127 | 127 |
| 128 private: | 128 private: |
| 129 // mutable to keep GetValue() const. | 129 // mutable to keep GetValue() const. |
| 130 mutable T value_; | 130 mutable T value_; |
| 131 DISALLOW_COPY_AND_ASSIGN(WDObjectResult); | 131 DISALLOW_COPY_AND_ASSIGN(WDObjectResult); |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 #endif // CHROME_BROWSER_API_WEBDATA_WEB_DATA_RESULTS_H_ | 134 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATA_RESULTS_H_ |
| OLD | NEW |