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

Side by Side Diff: chrome/browser/garbled_text_test_helper.h

Issue 9235004: [Garbled Text][Infobar] Adding infobar to suggest turning on encoding detection. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 years, 11 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_GARBLED_TEXT_TEST_HELPER_H_
6 #define CHROME_BROWSER_GARBLED_TEXT_TEST_HELPER_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/garbled_text_service.h"
10
11 class Profile;
12
13 class GarbledTextTestHelper {
14 public:
15 explicit GarbledTextTestHelper(Profile* profile);
16 ~GarbledTextTestHelper();
17
18 void Initialize();
19
20 Profile* profile() {
21 return profile_;
22 }
23
24 GarbledTextService* service();
25 GarbledTextURLTracker* tracker() {
26 return tracker_.get();
27 }
28
29 BooleanPrefMember* enabled() {
30 return &enabled_;
31 }
32
33 private:
34 Profile* profile_;
35 BooleanPrefMember enabled_;
36 scoped_ptr<GarbledTextURLTracker> tracker_;
37
38 DISALLOW_COPY_AND_ASSIGN(GarbledTextTestHelper);
39 };
40
41 #endif // CHROME_BROWSER_GARBLED_TEXT_TEST_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/garbled_text_service_unittest.cc ('k') | chrome/browser/garbled_text_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698