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

Side by Side Diff: chrome/browser/about_flags_unittest.cc

Issue 469993006: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/prefs/pref_registry_simple.h" 5 #include "base/prefs/pref_registry_simple.h"
6 #include "base/prefs/testing_pref_service.h" 6 #include "base/prefs/testing_pref_service.h"
7 #include "base/strings/string_number_conversions.h" 7 #include "base/strings/string_number_conversions.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/about_flags.h" 10 #include "chrome/browser/about_flags.h"
11 #include "chrome/browser/pref_service_flags_storage.h" 11 #include "chrome/browser/pref_service_flags_storage.h"
12 #include "chrome/common/chrome_switches.h" 12 #include "chrome/common/chrome_switches.h"
13 #include "chrome/common/pref_names.h" 13 #include "chrome/common/pref_names.h"
14 #include "grit/chromium_strings.h" 14 #include "chrome/grit/chromium_strings.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 const char kFlags1[] = "flag1"; 17 const char kFlags1[] = "flag1";
18 const char kFlags2[] = "flag2"; 18 const char kFlags2[] = "flag2";
19 const char kFlags3[] = "flag3"; 19 const char kFlags3[] = "flag3";
20 const char kFlags4[] = "flag4"; 20 const char kFlags4[] = "flag4";
21 const char kFlags5[] = "flag5"; 21 const char kFlags5[] = "flag5";
22 22
23 const char kSwitch1[] = "switch"; 23 const char kSwitch1[] = "switch";
24 const char kSwitch2[] = "switch2"; 24 const char kSwitch2[] = "switch2";
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 testing::SetExperiments(NULL, 0); 458 testing::SetExperiments(NULL, 0);
459 size_t count; 459 size_t count;
460 const Experiment* experiments = testing::GetExperiments(&count); 460 const Experiment* experiments = testing::GetExperiments(&count);
461 for (size_t i = 0; i < count; ++i) { 461 for (size_t i = 0; i < count; ++i) {
462 std::string name = experiments->internal_name; 462 std::string name = experiments->internal_name;
463 EXPECT_EQ(std::string::npos, name.find(testing::kMultiSeparator)) << i; 463 EXPECT_EQ(std::string::npos, name.find(testing::kMultiSeparator)) << i;
464 } 464 }
465 } 465 }
466 466
467 } // namespace about_flags 467 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698