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

Side by Side Diff: chrome/browser/themes/browser_theme_pack_unittest.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/browser/themes/browser_theme_pack.h" 5 #include "chrome/browser/themes/browser_theme_pack.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/json/json_reader.h" 8 #include "base/json/json_reader.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/scoped_temp_dir.h" 11 #include "base/scoped_temp_dir.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/browser/browser_thread.h" 13 #include "chrome/browser/browser_thread.h"
14 #include "chrome/browser/themes/browser_theme_provider.h" 14 #include "chrome/browser/themes/browser_theme_provider.h"
15 #include "chrome/common/chrome_paths.h" 15 #include "chrome/common/chrome_paths.h"
16 #include "chrome/common/json_value_serializer.h" 16 #include "chrome/common/json_value_serializer.h"
17 #include "gfx/color_utils.h"
18 #include "grit/theme_resources.h" 17 #include "grit/theme_resources.h"
19 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 #include "ui/gfx/color_utils.h"
20 20
21 class BrowserThemePackTest : public ::testing::Test { 21 class BrowserThemePackTest : public ::testing::Test {
22 public: 22 public:
23 BrowserThemePackTest() 23 BrowserThemePackTest()
24 : message_loop(), 24 : message_loop(),
25 fake_ui_thread(BrowserThread::UI, &message_loop), 25 fake_ui_thread(BrowserThread::UI, &message_loop),
26 fake_file_thread(BrowserThread::FILE, &message_loop), 26 fake_file_thread(BrowserThread::FILE, &message_loop),
27 theme_pack_(new BrowserThemePack) { 27 theme_pack_(new BrowserThemePack) {
28 } 28 }
29 29
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 419
420 // Part 2: Try to read back the data pack that we just wrote to disk. 420 // Part 2: Try to read back the data pack that we just wrote to disk.
421 { 421 {
422 scoped_refptr<BrowserThemePack> pack = 422 scoped_refptr<BrowserThemePack> pack =
423 BrowserThemePack::BuildFromDataPack( 423 BrowserThemePack::BuildFromDataPack(
424 file, "mblmlcbknbnfebdfjnolmcapmdofhmme"); 424 file, "mblmlcbknbnfebdfjnolmcapmdofhmme");
425 ASSERT_TRUE(pack.get()); 425 ASSERT_TRUE(pack.get());
426 VerifyStarGazing(pack.get()); 426 VerifyStarGazing(pack.get());
427 } 427 }
428 } 428 }
OLDNEW
« no previous file with comments | « chrome/browser/themes/browser_theme_pack.cc ('k') | chrome/browser/themes/browser_theme_provider_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698