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

Side by Side Diff: components/enhanced_bookmarks/enhanced_bookmark_features.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/enhanced_bookmarks/enhanced_bookmark_features.h" 5 #include "components/enhanced_bookmarks/enhanced_bookmark_features.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "build/build_config.h"
10 #include "components/enhanced_bookmarks/enhanced_bookmark_switches.h" 11 #include "components/enhanced_bookmarks/enhanced_bookmark_switches.h"
11 #include "components/offline_pages/offline_page_feature.h" 12 #include "components/offline_pages/offline_page_feature.h"
12 #include "components/variations/variations_associated_data.h" 13 #include "components/variations/variations_associated_data.h"
13 14
14 #if defined(OS_IOS) || defined(OS_ANDROID) 15 #if defined(OS_IOS) || defined(OS_ANDROID)
15 16
16 namespace enhanced_bookmarks { 17 namespace enhanced_bookmarks {
17 namespace { 18 namespace {
18 const char kFieldTrialName[] = "EnhancedBookmarks"; 19 const char kFieldTrialName[] = "EnhancedBookmarks";
19 } // namespace 20 } // namespace
(...skipping 19 matching lines...) Expand all
39 40
40 // Check that the "id" param is present. This is a legacy of the desktop 41 // Check that the "id" param is present. This is a legacy of the desktop
41 // implementation providing the extension id via param. This probably should 42 // implementation providing the extension id via param. This probably should
42 // be replaced with code that checks the experiment name instead. 43 // be replaced with code that checks the experiment name instead.
43 return !variations::GetVariationParamValue(kFieldTrialName, "id").empty(); 44 return !variations::GetVariationParamValue(kFieldTrialName, "id").empty();
44 } 45 }
45 46
46 } // namespace enhanced_bookmarks 47 } // namespace enhanced_bookmarks
47 48
48 #endif 49 #endif
OLDNEW
« no previous file with comments | « components/enhanced_bookmarks/bookmark_server_service.h ('k') | components/enhanced_bookmarks/image_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698