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

Side by Side Diff: athena/test/base/sample_activity_factory.cc

Issue 617043002: Moving athena/test to athena/test/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « athena/test/base/sample_activity_factory.h ('k') | athena/test/base/test_app_model_builder.h » ('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 "athena/test/sample_activity_factory.h" 5 #include "athena/test/base/sample_activity_factory.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "athena/activity/public/activity_manager.h" 9 #include "athena/activity/public/activity_manager.h"
10 #include "athena/test/sample_activity.h" 10 #include "athena/test/base/sample_activity.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "third_party/skia/include/core/SkColor.h" 13 #include "third_party/skia/include/core/SkColor.h"
14 #include "url/gurl.h" 14 #include "url/gurl.h"
15 15
16 namespace athena { 16 namespace athena {
17 namespace test { 17 namespace test {
18 18
19 namespace { 19 namespace {
20 const SkColor kDefaultColor = SK_ColorRED; 20 const SkColor kDefaultColor = SK_ColorRED;
(...skipping 22 matching lines...) Expand all
43 views::WebView* web_view) { 43 views::WebView* web_view) {
44 DCHECK(!web_view); 44 DCHECK(!web_view);
45 Activity* activity = new SampleActivity( 45 Activity* activity = new SampleActivity(
46 kDefaultAppColor, kDefaultAppContentColor, base::UTF8ToUTF16("App")); 46 kDefaultAppColor, kDefaultAppContentColor, base::UTF8ToUTF16("App"));
47 ActivityManager::Get()->AddActivity(activity); 47 ActivityManager::Get()->AddActivity(activity);
48 return activity; 48 return activity;
49 } 49 }
50 50
51 } // namespace test 51 } // namespace test
52 } // namespace athena 52 } // namespace athena
OLDNEW
« no previous file with comments | « athena/test/base/sample_activity_factory.h ('k') | athena/test/base/test_app_model_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698