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

Side by Side Diff: chrome/browser/ui/intents/web_intent_picker_controller.h

Issue 10696072: Fix web-intent-related unit_tests linking issues on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(OS_ANDROID)
Ben Goodger (Google) 2012/07/09 15:33:34 looks like you're not building this file, which im
Philippe 2012/07/09 16:22:36 I see at least these files explicitly including th
10 // Include a dummy header for Android. Android does not use web intent (at
11 // least for now).
12 #include "chrome/browser/ui/intents/web_intent_picker_controller_android.h"
13 #else
9 #include <vector> 14 #include <vector>
10 15
11 #include "base/compiler_specific.h" 16 #include "base/compiler_specific.h"
12 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 19 #include "base/memory/weak_ptr.h"
15 #include "base/string16.h" 20 #include "base/string16.h"
16 #include "chrome/browser/extensions/webstore_installer.h" 21 #include "chrome/browser/extensions/webstore_installer.h"
17 #include "chrome/browser/favicon/favicon_service.h" 22 #include "chrome/browser/favicon/favicon_service.h"
18 #include "chrome/browser/intents/cws_intents_registry.h" 23 #include "chrome/browser/intents/cws_intents_registry.h"
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 content::WebContents* service_tab_; 204 content::WebContents* service_tab_;
200 205
201 // Request consumer used when asynchronously loading favicons. 206 // Request consumer used when asynchronously loading favicons.
202 CancelableRequestConsumerTSimple<size_t> favicon_consumer_; 207 CancelableRequestConsumerTSimple<size_t> favicon_consumer_;
203 208
204 base::WeakPtrFactory<WebIntentPickerController> weak_ptr_factory_; 209 base::WeakPtrFactory<WebIntentPickerController> weak_ptr_factory_;
205 210
206 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerController); 211 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerController);
207 }; 212 };
208 213
214 #endif // !OS_ANDROID
209 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ 215 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/extensions/shell_window.cc ('k') | chrome/browser/ui/intents/web_intent_picker_controller_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698