| 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 EXTENSIONS_BROWSER_VALUE_STORE_VALUE_STORE_FRONTEND_H_ | 5 #ifndef EXTENSIONS_BROWSER_VALUE_STORE_VALUE_STORE_FRONTEND_H_ |
| 6 #define EXTENSIONS_BROWSER_VALUE_STORE_VALUE_STORE_FRONTEND_H_ | 6 #define EXTENSIONS_BROWSER_VALUE_STORE_VALUE_STORE_FRONTEND_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 14 #include "base/threading/non_thread_safe.h" | 15 #include "base/threading/non_thread_safe.h" |
| 15 #include "base/values.h" | 16 #include "base/values.h" |
| 16 #include "extensions/browser/value_store/value_store.h" | 17 #include "extensions/browser/value_store/value_store.h" |
| 17 | 18 |
| 18 namespace base { | 19 namespace base { |
| 19 class FilePath; | 20 class FilePath; |
| 20 } | 21 } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 49 class Backend; | 50 class Backend; |
| 50 | 51 |
| 51 // A helper class to manage lifetime of the backing ValueStore, which lives | 52 // A helper class to manage lifetime of the backing ValueStore, which lives |
| 52 // on the FILE thread. | 53 // on the FILE thread. |
| 53 scoped_refptr<Backend> backend_; | 54 scoped_refptr<Backend> backend_; |
| 54 | 55 |
| 55 DISALLOW_COPY_AND_ASSIGN(ValueStoreFrontend); | 56 DISALLOW_COPY_AND_ASSIGN(ValueStoreFrontend); |
| 56 }; | 57 }; |
| 57 | 58 |
| 58 #endif // EXTENSIONS_BROWSER_VALUE_STORE_VALUE_STORE_FRONTEND_H_ | 59 #endif // EXTENSIONS_BROWSER_VALUE_STORE_VALUE_STORE_FRONTEND_H_ |
| OLD | NEW |