OLD | NEW |
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 Loading... |
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 |
OLD | NEW |