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

Unified Diff: content/common/font_list.h

Issue 9500008: Move font_list_async.h to content/public. Switch to Pass() goodness to simplify code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix clang Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/pepper_message_filter.cc ('k') | content/common/font_list_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/font_list.h
===================================================================
--- content/common/font_list.h (revision 124079)
+++ content/common/font_list.h (working copy)
@@ -5,6 +5,8 @@
#ifndef CONTENT_COMMON_FONT_LIST_H_
#define CONTENT_COMMON_FONT_LIST_H_
+#include "base/memory/scoped_ptr.h"
+
namespace base {
class ListValue;
}
@@ -21,7 +23,7 @@
//
// Most callers will want to use the GetFontListAsync function in
// content/browser/font_list_async.h which does an asynchronous call.
-base::ListValue* GetFontList_SlowBlocking();
+scoped_ptr<base::ListValue> GetFontList_SlowBlocking();
} // namespace content
« no previous file with comments | « content/browser/renderer_host/pepper_message_filter.cc ('k') | content/common/font_list_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698