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

Side by Side Diff: chrome/browser/intents/web_intents_util_stub.cc

Issue 12225076: Delete most web intents code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 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
(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
OLDNEW
« no previous file with comments | « chrome/browser/intents/web_intents_util.cc ('k') | chrome/browser/intents/web_intents_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698