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_GOOGLE_GOOGLE_UPDATE_WIN_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_GOOGLE_UPDATE_WIN_H_ |
6 #define CHROME_BROWSER_GOOGLE_GOOGLE_UPDATE_WIN_H_ | 6 #define CHROME_BROWSER_GOOGLE_GOOGLE_UPDATE_WIN_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
10 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
11 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
12 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
13 #include "base/win/scoped_comptr.h" | 12 #include "base/win/scoped_comptr.h" |
14 #include "google_update/google_update_idl.h" | 13 #include "google_update/google_update_idl.h" |
15 #include "ui/gfx/native_widget_types.h" | 14 #include "ui/gfx/native_widget_types.h" |
16 | 15 |
17 namespace base { | 16 namespace base { |
18 class SingleThreadTaskRunner; | 17 class SingleThreadTaskRunner; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 // implementation (see src/google_update/google_update_idl.idl). | 104 // implementation (see src/google_update/google_update_idl.idl). |
106 typedef base::Callback<HRESULT(base::win::ScopedComPtr<IGoogleUpdate3Web>*)> | 105 typedef base::Callback<HRESULT(base::win::ScopedComPtr<IGoogleUpdate3Web>*)> |
107 GoogleUpdate3ClassFactory; | 106 GoogleUpdate3ClassFactory; |
108 | 107 |
109 // For use by tests that wish to provide a custom IGoogleUpdate3Web | 108 // For use by tests that wish to provide a custom IGoogleUpdate3Web |
110 // implementation independent of Google Update's. | 109 // implementation independent of Google Update's. |
111 void SetGoogleUpdateFactoryForTesting( | 110 void SetGoogleUpdateFactoryForTesting( |
112 const GoogleUpdate3ClassFactory& google_update_factory); | 111 const GoogleUpdate3ClassFactory& google_update_factory); |
113 | 112 |
114 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_UPDATE_WIN_H_ | 113 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_UPDATE_WIN_H_ |
OLD | NEW |