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

Side by Side Diff: ios/chrome/browser/open_from_clipboard/create_clipboard_recent_content.mm

Issue 1288733002: Add hash to OFC pasteboard change detection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moved comment Created 5 years, 4 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
« no previous file with comments | « components/open_from_clipboard/fake_clipboard_recent_content.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "ios/chrome/browser/open_from_clipboard/create_clipboard_recent_content .h" 5 #include "ios/chrome/browser/open_from_clipboard/create_clipboard_recent_content .h"
6 6
7 #import "components/open_from_clipboard/clipboard_recent_content_ios.h" 7 #import "components/open_from_clipboard/clipboard_recent_content_ios.h"
8 #include "ios/chrome/common/app_group/app_group_constants.h"
8 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h" 9 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h"
9 10
10 scoped_ptr<ClipboardRecentContent> CreateClipboardRecentContentIOS() { 11 scoped_ptr<ClipboardRecentContent> CreateClipboardRecentContentIOS() {
11 return make_scoped_ptr(new ClipboardRecentContentIOS( 12 return make_scoped_ptr(new ClipboardRecentContentIOS(
12 ios::GetChromeBrowserProvider()->GetChromeUIScheme())); 13 ios::GetChromeBrowserProvider()->GetChromeUIScheme(),
14 app_group::GetGroupUserDefaults()));
13 } 15 }
OLDNEW
« no previous file with comments | « components/open_from_clipboard/fake_clipboard_recent_content.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698