OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 // Stub implementation of web_intents_util.h to be included in builds | |
6 // where ENABLE_WEB_INTENTS is not defined. | |
7 | |
8 #include "chrome/browser/intents/web_intents_util.h" | |
9 | |
10 namespace web_intents { | |
11 | |
12 const char kActionView[] = "http://webintents.org/view"; | |
13 | |
14 bool IsWebIntentsEnabled(PrefService* prefs) { | |
15 return false; | |
16 } | |
17 | |
18 bool IsWebIntentsEnabledForProfile(Profile* profile) { | |
19 return false; | |
20 } | |
21 | |
22 Browser* GetBrowserForBackgroundWebIntentDelivery(Profile* profile) { | |
23 return NULL; | |
24 } | |
25 | |
26 } // namespace web_intents | |
OLD | NEW |