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

Side by Side Diff: media/base/android/cookies_retriever.h

Issue 10919075: Move android mediaplayer from render process to browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add the missing cookies_retriever.h file Created 8 years, 3 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 #ifndef MEDIA_BASE_ANDROID_COOKIES_RETRIEVER_H_
6 #define MEDIA_BASE_ANDROID_COOKIES_RETRIEVER_H_
7
8 #include <string>
9
10 #include "base/callback.h"
11
12 namespace media {
13
14 // Class for asynchronously retrieving the cookies for a given url.
15 class CookiesRetriever :
16 public base::RefCountedThreadSafe<CookiesRetriever>{
17 public:
18 typedef base::Callback<void(std::string)> GetCookieCB;
19
20 virtual ~CookiesRetriever() {};
21
22 // Method for getting the cookies for a given url. The callback takes place
23 // on the same thread where this function gets called.
24 virtual void GetCookiesAsync(std::string url,
25 const GetCookieCB& callback) = 0;
26 };
27
28 } // namespace net
Yaron 2012/09/05 07:03:56 media
qinmin 2012/09/05 19:34:42 Done.
29
30 #endif // MEDIA_BASE_ANDROID_COOKIES_RETRIEVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698