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

Side by Side Diff: ui/base/clipboard/clipboard_android_unittest.cc

Issue 1475773002: Add context_utils.h includes where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « ui/base/clipboard/clipboard_android.cc ('k') | ui/base/device_form_factor_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ui/base/clipboard/clipboard_android.h" 5 #include "ui/base/clipboard/clipboard_android.h"
6 6
7 #include "base/android/context_utils.h"
7 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
8 #include "base/android/jni_string.h" 9 #include "base/android/jni_string.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 #include "ui/base/clipboard/scoped_clipboard_writer.h" 11 #include "ui/base/clipboard/scoped_clipboard_writer.h"
11 12
12 namespace ui { 13 namespace ui {
13 14
14 class ClipboardAndroidTest : public ::testing::Test { 15 class ClipboardAndroidTest : public ::testing::Test {
15 public: 16 public:
16 ~ClipboardAndroidTest() override { 17 ~ClipboardAndroidTest() override {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 83
83 // Make sure the text is what we inserted while simulating the other app 84 // Make sure the text is what we inserted while simulating the other app
84 std::string contents; 85 std::string contents;
85 clipboard().ReadAsciiText(CLIPBOARD_TYPE_COPY_PASTE, &contents); 86 clipboard().ReadAsciiText(CLIPBOARD_TYPE_COPY_PASTE, &contents);
86 EXPECT_EQ(contents, new_value); 87 EXPECT_EQ(contents, new_value);
87 } 88 }
88 89
89 } // namespace ui 90 } // namespace ui
90 91
91 #include "ui/base/clipboard/clipboard_test_template.h" 92 #include "ui/base/clipboard/clipboard_test_template.h"
OLDNEW
« no previous file with comments | « ui/base/clipboard/clipboard_android.cc ('k') | ui/base/device_form_factor_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698